PowerShell Logo Small

Remove-VMNetworkAdapter



This is the built-in help made by Microsoft for the command 'Remove-VMNetworkAdapter', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes one or more virtual network adapters from a virtual machine.

SYNTAX


Remove-VMNetworkAdapter [-ComputerName <String[]>] [-Name <String>] [-Passthru] [-SwitchName <String>] [-VMNetworkAdapterName <String>] -ManagementOS [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-VMNetworkAdapter [-VMName] <String[]> [-ComputerName <String[]>] [-Name <String>] [-Passthru] [-VMNetworkAdapterName <String>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-VMNetworkAdapter [-VM] <VirtualMachine[]> [-Name <String>] [-Passthru] [-VMNetworkAdapterName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VMNetworkAdapter [-VMNetworkAdapter] <VMNetworkAdapterBase[]> [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-VMNetworkAdapter cmdlet removes one or more virtual network adapters from a virtual machine.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306907

REMARKS

<

Examples


Example 1

PS C:\>Remove-VMNetworkAdapter -VMName Redmond -VMNetworkAdapterName Redmond_NIC1



This example removes network adapter Redmond_NIC1 from a virtual machine named Redmond.