Remove-NetworkAdapter
This cmdlet removes the virtual network adapters from their locations.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
NetworkAdapter | NetworkAdapter[] | named |
|
Specifies the virtual network adapters you want to remove. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
$nic = Get-NetworkAdapter -VM VM Remove-NetworkAdapter -NetworkAdapter $nic
Removes the network adapter of the VM virtual machine.
Related Commands
NetworkAdapter
This cmdlet retrieves the virtual network adapters available on a vCenter Server system.
This cmdlet creates a new virtual network adapter.
This cmdlet removes the virtual network adapters from their locations.
This cmdlet modifies the configuration of the virtual network adapter.