Need a script to check for policies in JSS at startup

New Contributor

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!


Contributor III

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

Valued Contributor

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.