【发布时间】:2011-09-04 02:51:14
【问题描述】:
在 PowerShell 中,您可以使用 Get-WmiObject cmdlet 来获取 WMI 类。
我注意到我只能访问win32 classes,我可以在 PowerShell 中访问除 win32_* 之外的任何其他类吗?
【问题讨论】:
标签: powershell wmi
在 PowerShell 中,您可以使用 Get-WmiObject cmdlet 来获取 WMI 类。
我注意到我只能访问win32 classes,我可以在 PowerShell 中访问除 win32_* 之外的任何其他类吗?
【问题讨论】:
标签: powershell wmi
get-wmiobject -list
将给出您机器上可用类的列表。你问的是这个吗?
您还可以提供带有-namespace 参数的命名空间,以列出除root\CIMV2 之外的其他命名空间中的类
【讨论】: