CmdID / PowerShell / Cmdlets / Remove
Remove-VMGroupMember
Removes members from 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 one or more Hyper-V hosts that run this cmdlet.-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 from which this cmdlet removes virtual machines or groups of virtual machines.-NameSpecifies the name of the virtual machine group from which this cmdlet removes 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 removes from a virtual machine group.-VMGroupSpecifies the virtual machine group from which this cmdlet removes virtual machines or groups of virtual machines.-VMGroupMemberSpecifies an array of groups of virtual machines that this cmdlet removes from a virtual machine group.-WhatIf, -wiShows what would happen if the cmdlet runs.