Syntax
Remove-PassthroughDevice [-PassthroughDevice] <PassThroughDevice[]> [-WhatIf] [-Confirm] [<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.