Remove-PassthroughDevice Command | Vmware PowerCLI Reference

Remove-PassthroughDevice

This cmdlet removes the specified pass-through devices. You can remove only those pass-through devices that are retrieved from virtual machines.

Syntax

Remove-PassthroughDevice
-PassthroughDevice < PassThroughDevice[] >
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
PassthroughDevice PassThroughDevice[] named
  • pipeline
Specifies the pass-through devices you want to remove. You can remove only those pass-through devices that are retrieved from virtual machines.

Output

Examples

Example 1

Get-PassthroughDevice -VM VM | Remove-PassthroughDevice

Removes all pass-through devices of the VM virtual machine.

Related Commands

PassthroughDevice

This cmdlet attaches pass-through devices to the specified virtual machine.

This cmdlet retrieves the pass-through devices available on the specified hosts, virtual machines, and templates.

This cmdlet removes the specified pass-through devices.