回答

1

情侣出这里的盒子(主要是)选项;

命令提示(管理员)

C:\> wmic path win32_pnpentity where ConfigManagerErrorcode!=0 get * /format:list

Powershell的

 
PS C:\> Get-WmiObject Win32_PNPEntity | where {$_.status -ne "OK"} | fl

使用从上述结果的属性,可以自定义输出;

C:\> wmic path win32_pnpentity where ConfigManagerErrorcode!=0 get pnpclass,name,status /format:list
 
PS C:\> Get-WmiObject Win32_PNPEntity | where {$_.status -ne "OK"} | ft pnpclass,name,status -AutoSize

注意wmic例如没有管。

您可以使用更多关于输出格式的信息;

C:\> wmic path win32_pnpentity where ConfigManagerErrorcode!=0 get * /format /?

PS C:\> get-help format

更新:

在关于具体上市 “卸载” 设备(您的邮递方式寄往这两个 “其他” 和 “卸载” 设备,这在技术上是不同的),请阅读以下Microsoft产品说明:win32_pnpentity,

https://msdn.microsoft.com/en-us/library/aa394353(v=vs.85).aspx

属性 的Win32_PnPEntity类有这些属性。

......

其他(1)

未知(2)

运行/全功率(3)

...

不已安装(11)

...

相关问题