![]() That also let's me put things like "acceptedTOC" as an extension Attribute in a user Library folder for my own record keeping and can filter out users access based on whether or not they have accepted initial terms. I have an extension attribute that checks what commands have not completed successfully so that I can just set certain tasks to ongoing so they absolutely do not get missed, as I have noticed some scripts fail midway and try to start from scratch. I like to have my onboarding scripts write a command file first, and then from there update the file as it goes. This also let's you update on the fly with similar tools or manually by running those same changes. ![]() sh extension.I know this has been noted in a few different answers, but extension attributes are actually very fun little simple scripts that you can run.įor example As part of the onboarding swiftdialog setup, you can actually write to a separate command file of sorts, either an xml document or even just a bunch of dotfiles that hold the basic data that you are looking for and store it somewhere not user accessible then in an extension attribute script look inside that dotfile folder or read the plist/xml for the variables that were set. Note that it is written in zsh so that we can access functions specific to that shell. This key is the sum of userSessionDeferrals and userQuitDeferrals.Īnd here is that extension attribute. If macOS does not yet meet the minimum required version, the EA will report the value found in the userDeferrals key.If the requiredMinimumOSVersion key is found, but macOS is already greater than or equal to that value, the EA will report macOS meets minimum required version.If the requiredMinimumOSVersion key is not found, the EA will report No minimum required macOS version found.This can be useful to ensure that Nudge is running successfully, or to see which users are procrastinating (and how much). Jamf ProTags Jamf Pro, patch, patch definition, patch management. ![]() If an update is required, we report the number of deferrals used. extension attribute for GitHub Desktop.app saved as github-ea.sh. If a value exists, we use the is-at-least function built in to zsh to compare this to the currently installed macOS version. The following EA will grab the currently logged in user (or the last user if there isn’t one) and read the requiredMinimumOSVersion key value from the plist. I have developed the following Jamf Pro extension attribute to do just that. If we want to report this data, we will need to do it in the user context. Notice this is in the user’s local Library. Extension Attributes for use in JAMF Softwares Casper Suite - Jamf-Pro-Extension-Attributes/Secure Token Users. Nudge stores information about the next time Nudge will run, the minimum required OS version you have defined, and how many deferrals have been used in the plist located at ~/Library/Preferences/.plist Add extension attributes to existing mobiledevice table or create a new table for them and enable those search options for computers. Nudge users to keep macOS up-to-date – Dan Snelson (2021 JNUC Session).A Nudge in the right direction – Neil Martin (2021 MacAdmins Conference Session).Basic default behavior in Nudge – Alan Siu.Here are some links if you want more info: split on ' '',' Continue spliting on ',' for indiviual features',' Current resolution is displayed, Maximum. Nudge has been written and talked about plenty of times by my fellow MacAdmins, so I’ll spare you the details. You can also split the resolution if you need to, for height,',' width, etc.','',' 2: Built-in, Retina, iMac, 2560 x 1440 (5120 x 2880) Primary, ASUS VH236H, 1920 x 1080 60 Hz (1920 x 1080)',' ',' 1. Nudge is an open source application (primarily created by Erik Gomez) that strongly encourages users to apply macOS updates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |