Hi Folks,
I'm trying to create an extension attribute to get the MAU status.
By the script is working fine:

But using the same code to create an Extension Attribute is not working.
Does anyone has a tip to solve this?
Thanks in advance,
Hi Folks,
I'm trying to create an extension attribute to get the MAU status.
By the script is working fine:

But using the same code to create an Extension Attribute is not working.
Does anyone has a tip to solve this?
Thanks in advance,
Best answer by Cornoir
MAU How to Check Status EA settings;
Data Type : String
Inventory Display : General
Input Type : Script
HowToCheck=$(defaults read /Users/$loggedInUser/Library/Preferences/com.microsoft.autoupdate2.plist HowToCheck)
if [ "$HowToCheck" ]; then
echo "<result>$HowToCheck</result>"
else
echo "<result>Not Installed</result>"
fi
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.