CmdID / PowerShell / Cmdlets / New
New-VMSwitch
Creates a new virtual switch on one or more virtual machine hosts. Windows Server PowerShell reference
From the Windows Server PowerShell reference 15 parameters Its page in the reference
Parameters
-AllowManagementOSSpecifies whether the parent partition (i.e.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -PSComputerNameSpecifies one or more Hyper-V hosts on which the virtual switch is to be created.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-EnableEmbeddedTeamingSpecifies whether this cmdlet enables teaming for the virtual switch.-EnableIovSpecifies that IO virtualization is to be enabled on the virtual switch to be created.-EnablePacketDirectSpecifies whether this cmdlet enables the packet direct path through the virtual switch.-MinimumBandwidthModeSpecifies how minimum bandwidth is to be configured on the virtual switch.-Name, -SwitchNameSpecifies the name of the switch to be created.-NetAdapterInterfaceDescription, -InterfaceDescriptionSpecifies the interface description of the network adapter to be bound to the switch to be created.-NetAdapterName, -InterfaceAliasSpecifies the name of the network adapter to be bound to the switch to be created.-NotesSpecifies a note to be associated with the switch to be created.-SwitchTypeSpecifies the type of the switch to be created.-WhatIf, -wiShows what would happen if the cmdlet runs.