CmdID / PowerShell / Cmdlets / Add
Add-VMNetworkAdapter
Adds a virtual network adapter to a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 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 added.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DeviceNaming-DynamicMacAddressAssigns a dynamically generated MAC address to the new virtual network adapter.-IsLegacySpecifies whether the virtual network adapter is the legacy type.-ManagementOSSpecifies the management operating system.-Name, -VMNetworkAdapterNameSpecifies a name for the new virtual network adapter.-PassthruSpecifies that an object is to be passed through to be pipeline representing the network adapter to be added.-ResourcePoolNameSpecifies the friendly name of a resource pool.-StaticMacAddressAssigns a specific MAC address to the new virtual network adapter.-SwitchNameSpecifies the name of the virtual switch to connect to the new network adapter.-VMSpecifies the virtual machine on which the network adapter is to be added.-VMNameSpecifies the name of the virtual machine on which the network adapter is to be added.-WhatIf, -wiShows what would happen if the cmdlet runs.