Share via


Plug and Play (PnP) Device Cmdlets

適用於: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® 是以工作為基礎的命令列介面和指令碼語言,專為系統管理所設計。資訊技術 (IT) 專業人員適用的這個參考主題提供有關運用 Windows PowerShell 指令程式撰寫指令碼及自動化工作的協助。

Plug and Play device cmdlets

This reference provides cmdlet descriptions and syntax for Plug and Play (PnP) device cmdlets. This table lists the cmdlets in alphabetical order.

Cmdlet Description

Disable-PnpDevice

Disables a PnP device.

Enable-PnpDevice

Enables a PnP device.

Get-PnpDevice

Returns information about PnP devices.

Get-PnpDeviceProperty

Gets detailed properties for a PnP device.

注意

To list all the available cmdlets, type Get-Command –Module PnPDevice.

如需任何 Cmdlet 的語法或相關詳細資訊,請使用 Get-Help <cmdlet name> Cmdlet,其中 <cmdlet name> 是您想要瞭解的 Cmdlet 名稱。如需詳細資訊,您可以執行下列任何一個指令程式:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full