PowerShell Logo Small

Remove-Cluster



This is the built-in help made by Microsoft for the command 'Remove-Cluster', 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.

SYNOPSIS

Destroys an existing failover cluster.

SYNTAX


Remove-Cluster [[-Cluster] <String>] [-CleanupAD] [-Force] [-InputObject <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-Cluster cmdlet destroys an existing failover cluster. The affected servers will no longer function together as a cluster.


This cmdlet deletes all copies of the cluster configuration database on all cluster nodes.


Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321050
Get-Cluster
New-Cluster
Start-Cluster
Stop-Cluster
Test-Cluster

REMARKS

<

Examples


Example 1

PS C:\>Remove-Cluster



This example prompts the user for confirmation, then destroys the local failover cluster and removes cluster configuration information from the cluster nodes.




Example 2

PS C:\>Remove-Cluster -Force



This example destroys the local failover cluster and removes cluster configuration information from the cluster nodes. The cmdlet does not prompt for confirmation.




Example 3

PS C:\>Get-Cluster –Name Cluster1 | Remove-Cluster -Force -CleanupAD



This example destroys the cluster named Cluster1, removes cluster configuration information from the cluster nodes, and deletes the cluster objects in Active Directory. The
cmdlet does not prompt for confirmation.