This is the built-in help made by Microsoft for the command 'Remove-VMFromCluster', 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.
Removes a clustered role, also called a resource group, from a failover cluster.
Remove-ClusterGroup [[-Name] <StringCollection>] [-Cluster <String>] [-Force] [-InputObject <PSObject>] [-RemoveResources] [<CommonParameters>]
The Remove-ClusterGroup cmdlet removes a clustered role. also called a resource group, from a failover cluster.
Use this cmdlet to delete a group. If the group still has resources in it, then either remove the resources first, or specify the RemoveResources parameter.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=321053
Add-ClusterGroup
Get-ClusterGroup
Move-ClusterGroup
This example removes the clustered role named MyFileServer, if the resources have first been removed from it. The cmdlet does not prompt for confirmation.
EXAMPLE 3
PS C:\>Remove-ClusterGroup –Name MyFileServer -Force -RemoveResources
This example removes the clustered role named MyFileServer, without prompting for confirmation. All cluster resources in MyFileServer will be deleted.