开发者

Get-WmiObject win32 classes only?

开发者 https://www.devze.com 2023-03-08 20:12 出处:网络
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中文版

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

精彩评论

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