PowerShell Logo Small

Add-VMSwitch



This is the built-in help made by Microsoft for the command 'Add-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

Adds a virtual switch to an Ethernet resource pool.

SYNTAX


Add-VMSwitch [-Name] <String[]> [-ResourcePoolName] <String[]> [-ComputerName <String[]>] [<CommonParameters>]
Add-VMSwitch [-VMSwitch] <VMSwitch[]> [-ResourcePoolName] <String[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-VMSwitch cmdlet adds a virtual switch to an Ethernet resource pool.



<

RELATED LINKS


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

REMARKS

<

Examples


Example 1

PS C:\>Add-VMSwitch -Name Test -ResourcePoolName "Engineering Department"



Adds virtual switch Test to Ethernet resource pool Engineering Department.




Example 2

PS C:\>Get-VMSwitch –Name Test | Add-VMSwitch –ResourcePoolName "Engineering Department"



Adds virtual switch Test to Ethernet resource pool Engineering Department.