Category / JAMF Extension Attributes
Display Resolution Extension Attribute
Here’s a quick code snippet for an extension attribute to show the display resolution of the Mac’s in your estate. #!/bin/bash screens=$(system_profiler SPDisplaysDataType -xml | grep -A2 "</data>" | awk -F'>|<' '/_name/{getline;…
Microsoft Silverlight Version Check Extension Attribute
Here’s an extension attribute script to check for the Microsoft Silverlight version on Mac’s via an Extension Attribute script in Casper, copy and paste and away you go: #!/bin/sh if [ -e…
Java Version Check Extension Attribute
Here’s a quick check for the Java version on Mac’s via an Extension Attribute script, copy and paste and away you go: #!/bin/bash if [ -e /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java ]; then java_version=`/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java…
Shockwave Player Version Extension Attribute
Here’s a quick check for the Adobe Shockwave Player version on Mac’s via an Extentsion Attribute script, copy and paste and away you go: #!/bin/sh if [ -e /Library/Internet\ Plug-Ins/DirectorShockwave.plugin ]; then…
Homebrew Check Extension Attribute
If you’re in an environment where you have a lot of developers you’ll likely find the Homebrew command very close by, you can use this simple Extension Attribute in your Casper JSS…