Jamf Pro – trigger(s) from command line
use -event or -trigger for “Custom Event”, or -id for Policy ID#. Jamf policy -id XXXX sudo jamf policy -id […]
Jamf Pro – trigger(s) from command line Read More - click »
use -event or -trigger for “Custom Event”, or -id for Policy ID#. Jamf policy -id XXXX sudo jamf policy -id […]
Jamf Pro – trigger(s) from command line Read More - click »
#!/bin/bash osVersion=$( sw_vers -productVersion ) if [ $osVersion = “10.14.5” ]; then echo “No upgraded needed.” else jamf policy -event
Simple If Statement in Bash script Read More - click »
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
Determining Hardware Type: Laptops or Desktops Read More - click »