SCCM - Application Catalog - How to retrieve applications installed by the user ?

Hello guys,

Using PowerShell (or GUI) I want to retrieve the application installed by a specific user using the Application Catalog.
I'm able to retrieve the application requests that need an approval via something like:

Get-WMIObject -computerName <SCCM_SERVER> -NameSpace 'root\SMS\Site_<SiteCode>' -class SMS_UserApplicationRequest

But what about the apps that do NOT need an approval ? Where can i find this information ?

Any help would be appreciated Thanks!


September 4th, 2015 10:23am

$AssignmentIDs = (Get-WMIObject -ComputerName <SCCM_SERVER> -Namespace root\sms\Site_<SiteCode> -Query "SELECT * FROM SMS_Advertisement WHERE OfferType=2").AssignmentID
foreach ($AssignmentID in $AssignmentIDs) {
  Get-WmiObject -ComputerName <SCCM_SERVER> -Namespace root\sms\site_<SiteCode> -Query "SELECT * FROM SMS_AppDeploymentAssetDetails WHERE AssignmentID = $AssignmentID and UserName = <YourUserName>"
}


This code is provided "as is".



Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 4:26pm

$AssignmentIDs = (Get-WMIObject -ComputerName <SCCM_SERVER> -Namespace root\sms\Site_<SiteCode> -Query "SELECT * FROM SMS_Advertisement WHERE OfferType=2").AssignmentID
foreach ($AssignmentID in $AssignmentIDs) {
  Get-WmiObject -ComputerName <SCCM_SERVER> -Namespace root\sms\site_<SiteCode> -Query "SELECT * FROM SMS_AppDeploymentAssetDetails WHERE AssignmentID = $AssignmentID and UserName = <YourUserName>"
}


This code is provided "as is".



September 4th, 2015 8:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics