开发者

Get-WmiObject win32 classes only?

In PowerShell you can use the Get-WmiObject cmdlet to grab WMI classes.

I have noticed that I can only gain access to win32 classes, can I gain access in PowerShell to any 开发者_StackOverflow中文版other classes besides the win32_*?


get-wmiobject -list 

Will give a list of available classes on your machine. Is that what you were asking?

You can also supply a namespace with the -namespace parameter to list the classes in other namespaces besides root\CIMV2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜