I've been requested to remove the 'Relocated Items' alias that can be
generated by updating macOS Catalina. By itself this is very
straight-forward: check for the presence of Relocated Items and move to
the $currentUser .Trash if so. What I need to f...
Sloth is a Mac application that displays a list of all open files and
sockets in use by all running applications on your system. This makes it
easy to discover which apps are using which files and sockets. Sloth is
essentially a friendly GUI built on...
The most recent release of PrintNode has an incorrect CFBundleVersion
value ("4.0.0"), but the app appears to work normally after using
defaults write to update that value and add a CFBundleShortVersionString
value: defaults write /Applications/Print...
The "Jamf way" to gather this would be to create extension attributes
(EAs).There are plenty of examples here on JN, on GitHub, and all over
the blogs. By using EAs for these values, you can create Smart Groups,
then let Jamf take automatic action ba...
It's a really clunky process.Use the following to report the age of the
AAD token:token_epoch=$(defaults read com.jamf.management.jamfAAD | awk
'/"last_aad_token_timestamp"/ { print $NF }' | tr -d '";' | cut -d . -f
1,10) ; token=$(date -r $token_epo...
Create a policy to run a script which will check for a logged in user,
then close/quit every web browser. Set the policy's execution frequency
to once per day and use the Client-Side Limitations to only run whenever
the profile's hours are not in pla...