Look up computers
Get computer information
Get computer information
@Computer InfoInput fields:serial_number- the computer’s serial number. If omitted, the tool tries to match on the requesting user’s email in Jamf.computer_id- the Jamf Pro computer ID, for example2. The most precise selector. Use it when a previous lookup returned multiple matching computers.computer_name- the computer’s name in Jamf Pro, matched exactly.sections- inventory sections to include in the response. Pass one or more uppercase values such asAPPLICATIONS,CONFIGURATION_PROFILES,HARDWARE,OPERATING_SYSTEM,SECURITY,STORAGE, orSOFTWARE_UPDATES. Defaults to basic information when omitted.
computer- the computer record from Jamf Pro, containing the requested inventory sections.
- Look up a Mac’s serial number, model, and OS version before acting on it
- Check which configuration profiles are installed on a device
- Verify that a Mac is enrolled and managed by Jamf
- Pull security posture or disk encryption details during a compliance review
When a user reports issues with their Mac, use @Computer Info to look up the device. Ask for their serial number if they know it; otherwise the tool tries to match on their email. Check the management status, OS version, and installed profiles, then suggest troubleshooting steps based on what you find.
Secure lost or stolen computers
Lock Mac
Lock Mac
@Lock MacInput fields:serial_number(required) - serial number of the Mac to lock. Run@Computer Infofirst to confirm it.
- Lock a misplaced Mac while the user searches for it
- Secure a device left unattended in a public place
- Lock a Mac while a suspected security incident is investigated
When a user reports a lost Mac, use @Computer Info to confirm the device and its serial number. Ask the user to confirm before sending the lock command. Use @Lock Mac and tell them the lock takes effect the next time the Mac connects to the internet. Let them know the unlock PIN will arrive as a private Slack DM.
Erase Mac
Erase Mac
@Erase MacInput fields:serial_number(required) - serial number of the Mac to erase. Run@Computer Infofirst to confirm it.
- Wipe a confirmed stolen Mac to protect sensitive data
- Erase an unrecoverable device before decommissioning
- Remove data from a Mac that was lost and will not be recovered
When a user reports a stolen Mac, use @Computer Info to confirm the device. If the Mac was only lost, offer @Lock Mac instead. Before erasing, confirm with the user that the Mac was stolen and will not be recovered. Use @Erase Mac and tell them the erase takes effect the next time the Mac connects. Let them know that for Intel Macs a setup PIN will arrive as a private Slack DM.
Lock and erase permissions
Both tools find the Mac by serial number and only act on Macs that Jamf reports as managed. An unmanaged Mac can’t receive remote commands, so the agent tells the requester to contact IT.@Erase Mac to Requires approval so IT leads approve every wipe before it runs. While approval is pending, the agent tells the requester the erase is waiting on IT rather than reporting it as done.
JAMF_PRIVILEGE_MISSING error naming the missing privilege. See the setup guide for the full list.Setup
Install Jamf Pro integration
Configure agent
Create rules
Test tools
Best practices
- Look up before you act. Use
@Computer Infoto confirm a device’s name and serial number before locking or erasing. The tool matches on the requesting user’s email when no serial is provided and surfaces multiple results if more than one device matches. - Prefer lock over erase. Use
@Lock Macwhen a device is lost or misplaced. Lock is reversible; erase permanently destroys all data. Only use@Erase Macfor confirmed stolen or unrecoverable devices. - Gate destructive tools. Put
@Lock Macand@Erase Macbehind Requires approval in any rule an agent can reach on its own. The erase command cannot be recalled once sent. - Keep PINs private. Both lock and erase deliver a PIN to the requester as a private Slack DM. Never repeat, display, or ask for a PIN in the ticket.