Skip to main content
Question

Need a script to check for policies in JSS at startup

  • October 8, 2013
  • 2 replies
  • 12 views

Forum|alt.badge.img+2

Hello! I'm new to the JAMF world and am trying to create a policy that will encrypt a machine with FileVault at startup, but I need a script that will check for JSS policies at startup. I'm new to scripting as well, so any help would be greatly appreciated!

2 replies

Forum|alt.badge.img+11
  • Valued Contributor
  • October 8, 2013

You can create a policy set your triggered by to login, and set your execution frequency. Then add sudo jamf policy under advanced in the run command text field


Forum|alt.badge.img+20
  • Valued Contributor
  • October 8, 2013

You can do this a few ways.

Smart Group all people who do NOT have File Vault Encryption and then set a policy to Encrypt at next login, etc.

Second is you could write a script that checks for file vault encryption and then encrypts if none is found.