CmdID / PowerShell / Cmdlets / Set
Set-VMSwitch
Configures a virtual switch. Windows Server PowerShell reference
From the Windows Server PowerShell reference 19 parameters Its page in the reference
Parameters
Show its 19 parameters
-AllowManagementOSSpecifies whether the management operating system can use the physical network adapter that is bound to the virtual switch.-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 configured.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DefaultFlowMinimumBandwidthAbsoluteSpecifies the minimum bandwidth, in bits per second, that is allocated to a special category called "default flow." Any traffic sent by a virtual network adapter that is connected to this virtual swi…-DefaultFlowMinimumBandwidthWeightSpecifies the minimum bandwidth, in relative weight, that is allocated to a special category called "default flow".-DefaultQueueVmmqEnabled-DefaultQueueVmmqQueuePairs-DefaultQueueVrssEnabled-ExtensionsSpecifies an ordered list of network extensions used to reorder the bindings on the virtual switch.-Name, -SwitchNameSpecifies the name of the virtual switch to be configured.-NetAdapterInterfaceDescriptionSpecifies the interface description of the physical network adapter to which an external virtual switch should be bound.-NetAdapterName, -InterfaceAliasSpecifies the name of the physical network adapter to which an external virtual switch should be bound.-NotesSpecifies notes to be associated with the virtual switch.-PassthruSpecifies that a Microsoft.HyperV.PowerShell.EthernetSwitch object is to be passed through to the pipeline representing the virtual switch to be configured.-SwitchTypeConverts a virtual switch from one type to another.-VMSwitchSpecifies the virtual switch to be configured.-WhatIf, -wiShows what would happen if the cmdlet runs.