PowerShell Logo Small

Remove-ClusterSharedVolume



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

Removes a volume from the Cluster Shared Volumes in a failover cluster, and places it in Available Storage in the cluster.

SYNTAX


Remove-ClusterSharedVolume [[-Name] <StringCollection>] [-Cluster <String>] [-InputObject <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-ClusterSharedVolume cmdlet removes a volume from the Cluster Shared Volumes in a failover cluster, and places it in Available Storage in the cluster. After
placing a volume in Available Storage, you can use the volume when you configure a new clustered role.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321058
Add-ClusterSharedVolume
Get-ClusterSharedVolume
Move-ClusterSharedVolume

REMARKS

<

Examples


Example 1

PS C:\>Remove-ClusterSharedVolume –Name "Cluster Disk 3"
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 3 Online Available Storage Physical Disk



This example removes the CSV named Cluster Disk 3 from the Cluster Shared Volumes on the local cluster, and places it in Available Storage.




Example 2

PS C:\>Get-ClusterSharedVolume –Name "Cluster Disk 4" | Remove-ClusterSharedVolume
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 4 Online Available Storage Physical Disk



This example removes the CSV named Cluster Disk 4 from the Cluster Shared Volumes on the local cluster, and places it in Available Storage.