Jamf Pro: Useful Terminal Commands

Created by Liam Ralph, Modified on Mon, 22 Sep at 3:36 PM by Liam Ralph

sudo jamf recon

Purpose:
• Forces an inventory update (“reconnaissance”) of the Mac back to the Jamf Pro server.
• Collects hardware and software inventory details: serial number, OS version, installed software, network info, etc.

Typical use:
Run this when you want Jamf Pro to have the latest inventory data immediately rather than waiting for the next scheduled inventory collection.


sudo jamf policy

Purpose:
• Tells the Mac to check in right now and run any policies that would normally trigger on a “recurring check-in”.
• Installs packages, runs scripts, or executes configuration profiles that are scoped to the machine and are awaiting the next check-in.

Typical use:
If you just created or changed a policy in Jamf Pro and you want the Mac to apply it immediately.


sudo jamf manage

Purpose:
• Reapplies the management framework.
• Ensures the Mac is in a “managed” state:
– Re-installs or refreshes the management account,
– Re-downloads management framework components,
– Re-applies management settings like MDM profiles,
– Re-applies management flags (e.g., whether the Mac is marked as managed in Jamf).

Typical use:
Run this if a Mac appears partially unmanaged or if you’ve removed/repaired Jamf components and need to re-enforce management.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article