Checks that the operating system is up to date.
Create or edit a configuration profile with the following information:
Create or edit the following script and configure it to run when the check fails:
Use the policy below to verify:
SELECT 1 FROM os_version WHERE version >= '14.1.1';
version=$(sw_vers -productVersion); [ "$(printf '%s\n' "$version" "14.1.1" | sort -V | head -n1)" = "14.1.1" ] && echo 1 || echo 0
PowerShell commands are currently work in progress, contributions welcome.
Bash commands are currently work in progress, contributions welcome.