CmdID / PowerShell / Cmdlets / Add
Add-VMSwitch
Adds a virtual switch to an Ethernet resource pool. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies an array of Hyper-V hosts.-CredentialSpecifies one or more user accounts that have permission to perform this action.-Name, -SwitchNameSpecifies the name of the virtual switch to be added.-ResourcePoolNameSpecifies the name of the resource pool to which the virtual switch is to be added.-VMSwitchSpecifies the virtual switch to be added to the Ethernet resource pool.