WMI筛选器的作用是什么?就是在你定制任何操作的时候,可以筛选条件。比如说我这个需要安装一个64位软件,但是需要筛选64位的系统
筛选器的使用
![图片[1]-WMI筛选器的使用-木马屋](https://www.mumawu.com/wp-content/uploads/2023/04/Snipaste_2023-04-25_15-06-55-1024x849.png?v=1682407209)
![图片[2]-WMI筛选器的使用-木马屋](https://www.mumawu.com/wp-content/uploads/2023/04/Snipaste_2023-04-25_15-08-50-1024x817.png?v=1682407218)
![图片[3]-WMI筛选器的使用-木马屋](https://www.mumawu.com/wp-content/uploads/2023/04/Snipaste_2023-04-25_15-19-24-1024x821.png?v=1682407241)
语法讲解
WMI语法是WQL语言
//常用语法
//筛选64位系统
Select * from Win32_Processor where AddressWidth="64"
//筛选WIN10
Select * from Win32_OperatingSystem where Version like "10.0%" and ProductType="1"
//筛选计算机名
Select * from Win32_ComputerSystem where name = "PCNAME"
//筛选装有指定软件
Select * from Win32_Product where name = "仙剑奇侠传" OR name = "仙剑奇侠传II"
//筛选磁盘空间大于600
Select * from Win32_LogicalDisk where FreeSpace > 629145600
|
Windows版本 |
Version |
|
Windows10与Windows Server 2016 |
10.0 |
|
Windows 8.1与Windows Server 2012 R2 |
6.3 |
|
Windows 8与Windows Server 2012 |
6.2 |
|
Windows 7与Windows Server 2008 R2 |
6.1 |
|
Windows Vista与Window Server 2008 |
6.0 |
|
Windows Server 2003 |
5.2 |
|
Windows XP |
5.1 |
|
ProductType |
所代表的意义 |
|
1 |
客户端等级的操作系统,例如:Windows 10、Windows 8.1 |
|
2 |
服务器等级的操作系统并且是域控制器 |
|
3 |
服务器等级的操作系统,但不是域控制器 |
© 版权声明
THE END













![[经典版本]战神天龙-木马屋](/wp-content/uploads/2025/10/Snipaste_2025-10-10_19-42-42.png.png)
![[经典天龙]神王天龙-木马屋](/wp-content/uploads/2025/10/Snipaste_2025-10-10_19-05-08.png.png)
![[经典版本]无名经典天龙-木马屋](/wp-content/uploads/2025/10/Snipaste_2025-10-09_18-25-35.png.png)
![[怀旧版本]11门派复古-木马屋](/wp-content/uploads/2025/10/Snipaste_2025-10-08_16-25-31.png.png)

暂无评论内容