Uninstalls (destroys) a failover cluster managed by VMM.
Description
The Uninstall-SCVMHostCluster cmdlet unclusters the nodes of a Hyper-V host cluster managed by System Center Virtual Machine Manager (VMM). After the cluster has been uninstalled, each host is managed by VMM as a stand-alone host.
Uninstall-SCVMHostCluster can also remove a node from a cluster when used with the VMHost parameter.
For more information about Uninstall-SCVMHostCluster, type: "Get-Help Uninstall-SCVMHostCluster -online".
Parameters
VMHostCluster
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM host cluster object.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
VMHost
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an array of virtual machine host objects.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
The first command gets the cluster object named Cluster01 and stores the object in the $Cluster variable.
The second command destroys the cluster stored in $Cluster (in this case, Cluster01). After the cluster is destroyed, each host will be managed by VMM as a stand-alone host.