WMI query to get a program by plattform.
Hi, is it possible, by using powershell and wmi, to get a list of all progams for a specific client plattform? I need to get a list for "All x64 Windows 7" and "All x86 Windows 7" programs. At the moment, I have a script that returns a list of all programs with from wmi class SMS_program. There is a column "SupportedOperatingSystems", but it seems to be empty. I hope someone can help me. Bye
July 24th, 2012 1:28am

See "SMS_Program Server WMI Class": http://msdn.microsoft.com/en-us/library/cc144361.aspx SupportedOperatingSystems is a lazy property. More information about lazy properties: http://msdn.microsoft.com/en-us/library/hh948975.aspx. And here's an example how to deal with it: http://msdn.microsoft.com/en-us/library/cc144942.aspxTorsten Meringer | http://www.mssccmfaq.de
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 3:56am

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

Other recent topics Other recent topics