CmdID / PowerShell / Cmdlets / Rename
Rename-VMNetworkAdapter
Renames a virtual network adapter on a virtual machine or on the management operating system. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which the virtual network adapter is to be renamed.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-ManagementOSSpecifies that you want to rename a virtual network adapter that belongs to the management operating system.-Name, -VMNetworkAdapterNameSpecifies the existing name of the virtual network adapter.-NewNameSpecifies the new name for the virtual network adapter.-PassthruSpecifies that an object is to be passed through to the pipeline representing the virtual network adapter to be renamed.-VMSpecifies the virtual machine that has the virtual network adapter you want to rename.-VMNameSpecifies the name of the virtual machine that has the virtual network adapter you want to rename.-VMNetworkAdapterSpecifies the virtual network adapter to be renamed.-WhatIf, -wiShows what would happen if the cmdlet runs.