To query Programs with “On any plafrom” enabled

  1. Set up a connection to the Root\SMS namespace
  2. Query SMS_Program WMI class
  3. Check if the Flag is enabled or not.

Run the Get-CMProgramsWithAnyPlatform.ps1 with the following parameters:

Get-CMProgramsWithAnyPlatform.ps1 -SiteServer Localhost -SiteCode XXX -OutPut c:\Temp\CMPrograms.csv