When running shell scripts on client machines through Jamf, information about the machine and user in question is sometimes needed to get things done right.Among the most frequently used pieces of information:The currently logged-in user: Often used to run shell commands as the user using sudo -u $loggedInUser, since many settings and commands will only … Continue reading Create a local record with information from Jamf, for later use in scripting