回答

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)

...

相關問題