Google let me down, I couldn't find it on MSDN. man wmi
doesn't work at the windows shell... I'm looking for a list of objects that I can query, and how to construct the queries.
谷歌让我失望,我在MSDN上找不到它。 man wmi不能在windows shell工作......我正在寻找一个可以查询的对象列表,以及如何构建查询。
With WMI I mean the query language to query stuff like "Win32_Process"
使用WMI我的意思是用于查询诸如“Win32_Process”之类的东西的查询语言
I know about the classes and example queries, but I'm looking for a complete list of all possible query objects.
我知道类和示例查询,但我正在寻找所有可能的查询对象的完整列表。
I already found what I'm looking for using the debugger, but it's still interesting to look at a complete overview to see what's possible with WMI.
我已经使用调试器找到了我正在寻找的内容,但是查看完整的概述以了解WMI的可能性仍然很有趣。
8 个解决方案
#1
You can use WMIViewer to browse WMI classes at http://iaas.ao-is.com/Download it is open source, and even generate powershell code for you.
您可以使用WMIViewer在http://iaas.ao-is.com/上浏览WMI类。它是开源的,甚至可以为您生成PowerShell代码。
#2
MSDN WIN32 Classes you can find a list of classes to use in your query here along with example queries
MSDN WIN32类您可以在此处查找要在查询中使用的类列表以及示例查询
#3
Do you know this tool WMI Code Creator, good for learn WMI.
Another similar tool Scriptomatic 2.0.
你知道这个工具WMI Code Creator,有助于学习WMI。另一个类似的工具Scriptomatic 2.0。
#4
There isn't a documented "complete" list of WMI classes that you can query, because programs can register their own WMI providers, and this can change between versions.
您可以查询没有记录的“完整”WMI类列表,因为程序可以注册自己的WMI提供程序,这可以在不同版本之间进行更改。
Use WBEMTEST and press the "Enum Classes" button...
使用WBEMTEST并按“Enum Classes”按钮......
#5
Microsoft TechNet Script Center has WMI Scripting Primer and many other hepful WMI resources.
Microsoft TechNet脚本中心具有WMI脚本入门和许多其他丰富的WMI资源。
#6
There is a Query Language Guide, Query Language Reference, and the Main WMI Documentation page on MSDN.
MSDN上有“查询语言指南”,“查询语言参考”和“主要WMI文档”页面。
#7
As Mentioned Previously WBEMTest is a good tool that is built into windows that helps you explore on top of msdn WMI Documentation.
如前所述,WBEMTest是一个内置于Windows中的好工具,可帮助您在msdn WMI文档之上进行探索。
Personally though I found WMI Studio to be the most complete tool helping understand What Each WMI class really does and how it behaves.
就个人而言,我发现WMI Studio是帮助理解每个WMI类真正做什么以及它如何表现的最完整的工具。
WMI Studio is a bit Studio. It runs as an ActiveX Addon For IE.
WMI Studio有点Studio。它作为IE Addon for IE运行。
It might not be compilable with IE11 so you might have to turn off Enhanced Protection Mode in IE11 to get this working.
它可能无法与IE11进行编译,因此您可能必须在IE11中关闭增强保护模式才能使其正常工作。
#8
I usually use WMI Explorer for my project Services+ , contains full information about WMI queries and methods.
我通常在项目Services +中使用WMI Explorer,包含有关WMI查询和方法的完整信息。
#1
You can use WMIViewer to browse WMI classes at http://iaas.ao-is.com/Download it is open source, and even generate powershell code for you.
您可以使用WMIViewer在http://iaas.ao-is.com/上浏览WMI类。它是开源的,甚至可以为您生成PowerShell代码。
#2
MSDN WIN32 Classes you can find a list of classes to use in your query here along with example queries
MSDN WIN32类您可以在此处查找要在查询中使用的类列表以及示例查询
#3
Do you know this tool WMI Code Creator, good for learn WMI.
Another similar tool Scriptomatic 2.0.
你知道这个工具WMI Code Creator,有助于学习WMI。另一个类似的工具Scriptomatic 2.0。
#4
There isn't a documented "complete" list of WMI classes that you can query, because programs can register their own WMI providers, and this can change between versions.
您可以查询没有记录的“完整”WMI类列表,因为程序可以注册自己的WMI提供程序,这可以在不同版本之间进行更改。
Use WBEMTEST and press the "Enum Classes" button...
使用WBEMTEST并按“Enum Classes”按钮......
#5
Microsoft TechNet Script Center has WMI Scripting Primer and many other hepful WMI resources.
Microsoft TechNet脚本中心具有WMI脚本入门和许多其他丰富的WMI资源。
#6
There is a Query Language Guide, Query Language Reference, and the Main WMI Documentation page on MSDN.
MSDN上有“查询语言指南”,“查询语言参考”和“主要WMI文档”页面。
#7
As Mentioned Previously WBEMTest is a good tool that is built into windows that helps you explore on top of msdn WMI Documentation.
如前所述,WBEMTest是一个内置于Windows中的好工具,可帮助您在msdn WMI文档之上进行探索。
Personally though I found WMI Studio to be the most complete tool helping understand What Each WMI class really does and how it behaves.
就个人而言,我发现WMI Studio是帮助理解每个WMI类真正做什么以及它如何表现的最完整的工具。
WMI Studio is a bit Studio. It runs as an ActiveX Addon For IE.
WMI Studio有点Studio。它作为IE Addon for IE运行。
It might not be compilable with IE11 so you might have to turn off Enhanced Protection Mode in IE11 to get this working.
它可能无法与IE11进行编译,因此您可能必须在IE11中关闭增强保护模式才能使其正常工作。
#8
I usually use WMI Explorer for my project Services+ , contains full information about WMI queries and methods.
我通常在项目Services +中使用WMI Explorer,包含有关WMI查询和方法的完整信息。