you can use Api to get the list of Softwares installed on your device.
I‘ve modified the script from @kendalljjohnson
It creates a nice, combined .csv.
Are you able to execute code locally for this?
mdfind -0 -onlyin /Applications "kMDItemKind == Application" | xargs -0 mdls -name kMDItemDisplayName -name kMDItemVersion -name kMDItemPath
You can also call the mdmclient
which also if I recall uses Spotlight meta data
sudo /usr/libexec/mdmclient QueryInstalledApps
Getting it out of jamf API might be a bit crunchy and taxing since it will have to hit every single device record endpoint. However, that is also an option. Running the Spotlight command and shipping the data somewhere is also an option.
Are you able to execute code locally for this?
mdfind -0 -onlyin /Applications "kMDItemKind == Application" | xargs -0 mdls -name kMDItemDisplayName -name kMDItemVersion -name kMDItemPath
You can also call the mdmclient
which also if I recall uses Spotlight meta data
sudo /usr/libexec/mdmclient QueryInstalledApps
Getting it out of jamf API might be a bit crunchy and taxing since it will have to hit every single device record endpoint. However, that is also an option. Running the Spotlight command and shipping the data somewhere is also an option.
I know this is an old post, but I am trying to get output similar to your first script using Jamf. Happen to know a way to do that?