Windows Server 2012 DC
select * from Win32_OperatingSystem where Version like "6.2%" and ProductType = "2"
Windows Server 2012
select * from Win32_OperatingSystem where Version like "6.2%" and ProductType = "3"
Windows 8
select * from Win32_OperatingSystem where Version like "6.2%" and ProductType = "1"
Windows Server 2008 R2
select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "3"
Windows Server 2008 R2 DC
select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "2"
Windows 7
select * from Win32_OperatingSystem where Version like "6.1%" and ProductType = "1"
视窗服务器 2008
select * from Win32_OperatingSystem where Version like "6.0%" and ProductType = "3"
Windows Server 2008 DC
select * from Win32_OperatingSystem where Version like "6.0%" and ProductType = "2"
Windows Vista
select * from Win32_OperatingSystem where Version like "6.0% " and ProductType = "1"
Windows Server 2003
select * from Win32_OperatingSystem where Version like "5.2%" and ProductType = "3"
Windows XP
select * from Win32_OperatingSystem where (Version like "5.1%" or Version like "5.2%") and ProductType = "1"
有关 WMI 过滤器示例的更大列表,请参见此处: Windows:WMI 过滤器字符串示例
适用于 Windows 操作系统的 WMI 筛选器
最新推荐文章于 2022-02-28 11:53:16 发布