INFORMATICS

The Best

Combination WMI filter for operating system

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

You can create combination filters. The following table shows query statements for common operating system combinations.

WMI Filter Name

WQL Query Statement

Windows Vista and Windows Server 2008

select * from Win32_OperatingSystem where Version like "6.0%" and ProductType<>"2"

Windows Server 2003 and Windows Server 2008

select * from Win32_OperatingSystem where (Version like "5.2%" or Version like "6.0%") and ProductType="3"

Windows 2000, XP and 2003

select * from Win32_OperatingSystem where Version like "5.%" and ProductType<>"2"

Search