CmdID / PowerShell / Cmdlets / Add
Add-VMGroupMember
Adds group members to a virtual machine group. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies on or more Hyper-V hosts where this cmdlet adds a group member.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-IdSpecifies the unique ID of the virtual machine group to which this cmdlet adds virtual machines or groups of virtual machines.-NameSpecifies the name of the virtual machine group to which this cmdlet adds virtual machines or groups of virtual machines.-PassthruIndicates that this cmdlet returns the Microsoft.HyperV.PowerShell.VMGroup object that it configures.-VMSpecifies an array of virtual machines that this cmdlet adds to a virtual machine group.-VMGroupSpecifies the virtual machine group to which this cmdlet adds virtual machines or groups of virtual machines.-VMGroupMemberSpecifies an array of virtual machine groups that this cmdlet adds to a virtual machine group.-WhatIf, -wiShows what would happen if the cmdlet runs.