PowerShell Logo Small

New-VMSwitch



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

Creates a new virtual switch on one or more virtual machine hosts.

SYNTAX


New-VMSwitch [-Name] <String> [-AllowManagementOS <Boolean>] [-ComputerName <String[]>] [-EnableIov <Boolean>] [-MinimumBandwidthMode <VMSwitchBandwidthMode>] [-Notes
<String>] -NetAdapterName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
New-VMSwitch [-Name] <String> [-AllowManagementOS <Boolean>] [-ComputerName <String[]>] [-EnableIov <Boolean>] [-MinimumBandwidthMode <VMSwitchBandwidthMode>] [-Notes
<String>] -NetAdapterInterfaceDescription <String> [-Confirm] [-WhatIf] [<CommonParameters>]
New-VMSwitch [-Name] <String> [-ComputerName <String[]>] [-EnableIov <Boolean>] [-MinimumBandwidthMode <VMSwitchBandwidthMode>] [-Notes <String>] -SwitchType <VMSwitchType>
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-VMSwitch cmdlet creates a new virtual switch on one or more virtual machine hosts.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306900

REMARKS

<

Examples


Example 1

PS C:\>New-VMSwitch "QoS Switch" -NetAdapterName "Wired Ethernet Connection 3" -MinimumBandwidthMode Weight



Creates a new switch QoS switch, which binds to a network adapter called Wired Ethernet Connection 3 and supports weight-based minimum bandwidth.