Friday, May 23, 2014

WMI Filter for Windows 7 x86 or x64 OS

If you want to use WMI Query in SCCM TS to make difference between Windows 7 x86 and Windows 7 x64 then this WMI query should be used:

Win 7 32 bit machines:

select * from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND NOT OSArchitecture = "64-bit"

Win 7 64Bit machines:

select * from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND OSArchitecture = "64-bit"

No comments:

Post a Comment