-
Notifications
You must be signed in to change notification settings - Fork 3
Fetch Database
This tool reads a single value that another RCC tool has stored on the Mac, and prints it to standard output. It is meant to be captured inside a script or a Jamf Pro Extension Attribute:
value=$(rocketman FetchDatabase --tool EditUserProfile --key assetTag)The tool only ever reads. It never writes, and never changes anything on the device.
rocketman FetchDatabase
The tool whose stored values you want to read.
- Type: string
-
Supported values:
EditUserProfile -
Example:
--tool "EditUserProfile"
--tableis the former name of this option. It still works so existing scripts keep running, but it is deprecated — use--toolin anything new.
Which value to read. This is either a field name, or the ID of a Jamf Pro Extension Attribute.
- Type: string
-
Field names:
assetTag,username,email,computerName,room,position,selectedBuilding,selectedDepartment,selectedSite,fullName -
Example:
--key "username"--key "247"
-
Nothing stored yet means no output. If the tool named by
--toolhas not stored anything on this Mac, or the key does not exist, nothing is printed and the reason is written to the log at/var/log/tech.rocketman.rcc.log. Have your script handle an empty result. -
An unsupported
--toolvalue prints nothing and logs that the tool is not supported. - Only the value is printed to standard output, so
$( )captures exactly the value and nothing else.
This tool is designed to be called inline from a script, so it takes its options on the command line rather than from a managed preference. There is no configuration profile schema for it.
Tip
Professional setup, custom integrations, and SLA-backed support are available.
➡️ Learn more
-
Encrypt
Encrypt any string. -
App Setup Helper
Enables Screen Recording for apps. -
Break Glass Admin
Manages emergency admin accounts. -
Change Static Group Membership
Adds or removes the Mac from a static group. -
Edit User Profile
Updates building and department info. -
Fetch Database
Reads a stored value for use in a script. -
FileVault Token Revoker
Removes FileVault tokens. -
Get Backdoor Admin Password From Keychain
Retrieves backdoor admin passwords. -
List All FileVault Enabled Users
Lists FileVault-enabled users. -
Network Migration
Moves a Mac between 802.1x profiles. -
Rapid Response
Triggers scripts immediately. -
Rename Computer
Renames Macs via Jamf. -
Reset Jamf Connect Login Screen
Switches to macOS login. -
Secure Token Sharing Tool
Grants secure tokens. -
Self Service Email
Creates pre-filled emails. -
Set Time Zone
Sets time zone and NTP server. -
Set User Icon
Sets a user's account picture. -
Super
Runs SUPER with encrypted credentials. -
Temporary Admin
Grants temporary admin rights. -
Update User Info
Syncs user data with Jamf. -
Upload Jamf Logs
Uploads log files to Jamf. -
User Privilege Management
Adjusts user roles. -
Warning Timer
Blocks with a countdown dialog.