OS_MINOR=`/usr/bin/sw_vers -productVersion | /usr/bin/cut -d. The problem with this script is primarily in this section of it (though there are other issues too) If (( $OS_MINOR $(printf '%s\n' this is an old EA. Extension attribute values are populated using an input type, which can be any of the following: Text field. The problem with this script is primarily in this section of it (though there are other issues too) Extension attributes allow you to collect extra inventory information. What could we do to upgrade this so it'll work on Catalina, Big Sur and Monterey? Introduction to Extension Attributes Jamf Nation User Conference In today’s session, Mac expert, Andrew Seago, provided an introduction to Extension Attributes, including how they allow you to accomplish anything you need to do on a Mac. If (( $OS_MINOR `/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/networksetup -listnetworkserviceorder 2>&1 | grep $(/usr/sbin/netstat -rn 2>&1 | /usr/bin/grep -m 1 'default' | /usr/bin/awk '') | sed -e "s/.*Port: //g" -e "s/.*//g"`" Choose a category in which to display the extension attribute in Jamf Pro from the Inventory Display pop-up menu. You can also create extension attributes programmatically via the Jamf Pro API. In Jamf Pro, you can create extension attributes manually or from an available template in Jamf Pro. The base URL for the Classic API is located at /JSSResource on each Jamf Pro instance. Choose the type of data being collected from the Data Type pop-up menu. Extension attribute values are populated using an input type, which can be any of the following: Text field. OS_MINOR=`/usr/bin/sw_vers -productVersion | /usr/bin/cut -d. Configure the following settings: Name your extension attribute. Ethernet or wireless) and has the following script: #!/bin/sh Examples: A text field input can collect the retire date of a computer. It's supposed to determine what the active/in-use network interface is (i.e. In Jamf Pro, you can create extension attributes manually, from an available template in Jamf Pro, or by uploading an extension attribute from Jamf Nation. I've been doing a bit of a clean-up on our Jamf Pro instance prior to us migrating to Jamf Cloud (which will hopefully be within the next month or two) and one of our extension attributes seems to be a bit out of date as I've noticed it's not been working properly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |