Hi all,
I'm trying to locate the Virtualbox License file on managed devices. I followed the guide outlined here https://community.jamf.com/t5/jamf-pro/best-methods-to-search-for-the-existence-of-a-file/m-p/286067 but a Smart Search doesn't yield any results (I personally created a dummy file to check that)
I created an EA with the script outlined
#!/bin/bash
LicenseFilePath="/Applications/VirtualBox.app/Contents/MacOS/ExtensionPacks/Oracle_VM_VirtualBox_ Extension_Pack/ExtPack-license.html"
if [[ -e "${LicenseFilePath}" ]]; then
EA_RESULT="Installed"
else
EA_RESULT="Not installed"
fi
echo "<result>${EA_RESULT}</result>"
I created a Smart Group with EA-Name as Criteria and Value Installed
Any suggestions?
Thanks!