CmdID

CmdID / PowerShell / Cmdlets / Connect

Connect-VMNetworkAdapter

Connects a virtual network adapter to a virtual switch. Windows Server PowerShell reference

From the Windows Server PowerShell reference 12 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

12 in the Windows Server PowerShell reference
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more virtual machine hosts on which the virtual network adapter is to be connected.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-Name, -VMNetworkAdapterNameSpecifies the name of the virtual network adapter to be connected.
-PassthruSpecifies that a Microsoft.HyperV.PowerShell.VMNetworkAdapter object is to be passed through to the pipeline representing the virtual network adapter to be connected.
-SwitchNameSpecifies the name of the virtual switch to which the virtual network adapter is to be connected.
-UseAutomaticConnectionSpecifies that the network adapter is to be connected to any virtual switch in the resource pool, rather than to a specific virtual switch.
-VMNameSpecifies the name of the virtual machine in which the network adapter is to be connected.
-VMNetworkAdapterSpecifies the virtual network adapter to be connected.
-VMSwitchSpecifies the virtual switch to which the virtual network adapter is to be connected.
-WhatIf, -wiShows what would happen if the cmdlet runs.