Syntax
Remove-PassthroughDevice [-PassthroughDevice] <PassThroughDevice[]> [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet removes the specified pass-through devices. You can remove only those pass-through devices that are retrieved from virtual machines.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
PassthroughDevice | PassThroughDevice[] | Specifies the pass-through devices you want to remove. You can remove only those pass-through devices that are retrieved from virtual machines. | true | True (ByValue) | |
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False | |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
Return Type
NoneNotes
Examples
-------------------------- Example 1 --------------------------
Get-PassthroughDevice -VM VM | Remove-PassthroughDevice
Removes all pass-through devices of the VM virtual machine.