• About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register
Skip to content
Full Metal Mac
  • News
  • Resources
    • Concepts
      • Code
      • Logging
      • Networking
      • SecurityComputer security, cybersecurity (cyber security), digital security and information technology security (IT security); describe computer systems and network(s) protection.
        • macOS Security Compliance Project (mSCP)
      • Smart Home
    • Links
      • Internet Links
    • Software
      • Adobe
      • Amazon
      • AppleApple Category 
        • iOS
        • iPadOS
        • macOSmacOS Macintosh Operating System information
        • ShortcutsThe Apple Shortcuts application (app) enables you to create shortcuts with multiple steps and actions to controls tasks and other shortcuts. A shortcut is a quick way to get execute tasks done with your apps in the Apple ecosystem.
        • SiriApple’s Siri is the built-in intelligent assistant into most Apple Hardware, it is designed to help you do things faster and easier. With just your voice, you can control your Mac, access information, and complete tasks.
        • tvOS
        • watchOS
      • FileMaker Pro
      • Firefox
      • Google ChromeGoogle Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, built with free software components from Apple WebKit and Mozilla Firefox.
      • Jamf ProJamf Software
        • Extension Attributes
      • MicrosoftMicrosoft Software for macOS https://macadmins.software/ https://office4mac.thinkific.com/collections
        • Windows Server
      • MySQL
      • Terminal
        • cat
        • curl
        • dscacheutil
        • grep
        • Regular Expressions
        • scp: secure copy
        • sed
        • softwareupdate
    • Training
  • Groups
    • Members
    • Activity
  • Registration Form

Policy Trigger

Home » Policy Trigger

Jamf Pro – trigger(s) from command line

April 20, 2022Posted inSoftwareTags: Jamf Pro, MDM, Patching, Policy Trigger, softwareupdate, Troubleshooting
use -event or -trigger for "Custom Event", or -id for Policy ID#. Jamf policy -id XXXX sudo jamf policy -id 52 -verbose 52 is an example here Link https://community.jamf.com/t5/jamf-pro/trigger-policy-from-command-line/m-p/129879 Remote…
Read More

Simple If Statement in Bash script

March 26, 2022Posted inJamf ProTags: Bash Scripts, Jamf Policy, Jamf Pro, Policy Trigger
#!/bin/bash osVersion=$( sw_vers -productVersion ) if [ $osVersion = "10.14.5" ]; then echo "No upgraded needed." else jamf policy -event runUpgrade fi
Read More

Determining Hardware Type: Laptops or Desktops

March 22, 2022Posted inJamf ProTags: Bash Scripts, Jamf Policy, Jamf Pro, Policy Trigger
Determining Hardware Type: 1) Laptop (Macbook) 2) Desktop Script: #!/bin/sh HWModel="$(/usr/sbin/sysctl hw.model)" if [[ $HWModel =~ .*MacBook*. ]] then /usr/local/bin/jamf policy -trigger LaptopSetup else /usr/local/bin/jamf policy -trigger DesktopSetup fi exit…
Read More

Apple security releases

Tag Cloud

10.15 - macOS Catalina account Active Directory Apple Business Manager automation Bash Scripts Configuration Management Configuration profile curl debug Federal Compliance FileMaker Pro Gotcha! grep install Jamf Extension Attribute Jamf Policy Jamf Pro link logs log show macOS 12 MDM Microsoft Microsoft Edge Microsoft Office mysql NIST Patching PKI PreStage Enrollments Printers Profiles Scripts Security setup Shortcuts Signing Certificate Smart Home softwareupdate ssl STIG Terminal Troubleshooting Users

Recent Posts

  • Outputs the last password change date for each user on the system
  • Add Slack app to users Applications
  • VMware Horizon
  • supress smart card pairing prompt
  • Procedures for fdesetup changerecovery

  • Facebook
  • Twitter
  • LinkedIn
  • More
Full Metal Mac
  • About
    • Affiliate Disclosure
    • Contact
    • Food & Drink
    • Gadgets
    • Internet Links
Full Metal Mac logo banner image for Wordpress widget side bar space
  • FullMetalMac.com
    • About Site
    • Food & Drink
    • Gadgets
    • Health
  • Concepts
    • Code
    • Definitions
    • Logging
    • Networking
    • SecurityComputer security, cybersecurity (cyber security), digital security and information technology security (IT security); describe computer systems and network(s) protection.
      • macOS Security Compliance Project (mSCP)
    • Smart Home
  • Hardware
  • Software
    • Google ChromeGoogle Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, built with free software components from Apple WebKit and Mozilla Firefox.
    • Jamf ProJamf News [wp-rss-aggregator feeds="jamf-news"] Jamf Investor Relations [wp-rss-aggregator feeds="jamf-investor-relations"]
  • Links
  • News
  • Training
  • Thank You
  • Account
  • Login
  • FullMetalMac Login and Membership Information
  • Registration Form
  • Thanks
  • Amazon
  • Apple
  • Microsoft
  • iOS
  • iPadOS
  • macOS
  • watchOS
  • tvOS
  • Windows Server

Latest Posts

  • Outputs the last password change date for each user on the system
  • Add Slack app to users Applications
  • VMware Horizon
  • supress smart card pairing prompt
  • Procedures for fdesetup changerecovery

Macrumors.com RSS News feed

  • Bird photography
  • Fortnite Returns to U.S. App Store
  • Epic: Fortnite Offline Worldwide 'Until Apple Unblocks It'
  • The 2024-2025 Football Thread
  • Photo of the Day | May 2025.
Menu
  • Apple
    • iOS
    • iPadOS
    • macOSmacOS Macintosh Operating System information
      • macOS Downloads
  • Microsoft
    • Microsoft Downloads
    • Microsoft Edge
  • Hardware
    • Printers
  • Security
    • macOS Security Compliance Project (mSCP)The macOS Security Compliance Project (mSCP).
  • Software
    • Adobe
    • FileMaker Pro
    • Firefox
    • Google Chrome
    • Jamf Pro
      • Extension Attributes
    • MySQL
    • Terminal
      • cat
      • curl
      • dscacheutil
      • grep
      • Regular Expressions
      • scp: secure copy
      • sed
      • softwareupdate
    • Tomcat
    • Windows Server
  • Smart Home
Copyright 2025 — Full Metal Mac. All rights reserved. American Veteran's Service Organizations and Patriotic Societies: AVSOPS.com • Apple Macintosh (macOS) Security Guidance and Support Resources: FullMetalMac.com • Impactful Information Technology Systems (impaxsys.com); time, effort and trust: impaxsys.com • King Street(s) Across the World: kingst.com
Scroll to Top
Share via
Facebook
X (Twitter)
LinkedIn
Mix
Email
Print
Copy Link
Powered by Social Snap