PowerShell Logo Small

Rename-VMNetworkAdapter



This is the built-in help made by Microsoft for the command 'Rename-VMNetworkAdapter', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Renames a virtual network adapter on a virtual machine or on the management operating system.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Rename-VMNetworkAdapter cmdlet renames a virtual network adapter on a virtual machine or on the management operating system.



<

RELATED LINKS






REMARKS

<

Examples


Example 1

PS C:\>Rename-VMNetworkAdapter –VMName Redmond –NewName CoreNet



This example renames all the virtual network adapters of virtual machine Redmond to CoreNet.




Example 1

PS C:\>Rename-VMNetworkAdapter -VMName Kirkland –Name Private -NewName CoreNet



This example renames the virtual network adapter Private to CoreNet in virtual machine Kirkland.