Showing posts with label jamf. Show all posts
Showing posts with label jamf. Show all posts
Sunday, March 6, 2016
Thursday, July 2, 2015
How to create an extension attribute to track McAfee Dat version in Casper Jamf server
1- Goto Computer Management in your Casper Server
2- Select extension attribute
3- Click plus + to create a new attribute
4 - Data type chose integer
5- Inventory type choose extension attribute
6 -input type select script
7 - Paste in the script below and save
#!/bin/sh
#This script has been verified to work on McAfee Security for Mac Anti-malware (v1.0).
#Check to see if McAfee Security is installed
if [ -f "/Library/Preferences/com.mcafee.ssm.antimalware.plist" ]; then
result=`/usr/bin/defaults read /Library/Preferences/com.mcafee.ssm.antimalware Update_DATVersion`
echo "<result>$result</result>"
else
echo "<result>Not installed</result>"
fi
Subscribe to:
Posts (Atom)
Adsense
google.com, pub-2479148851417979, DIRECT, f08c47fec0942fa0

