Remove-ClusterSharedVolume
Remove a volume from the Cluster Shared Volumes in a failover cluster, and place it in Available Storage in the cluster.
Remove-ClusterSharedVolume [-InputObject <psobject>] [[-Name] <StringCollection>] [-Cluster <string>] [<CommonParameters>]
InputObject
Name
Cluster
After placing a volume in Available Storage, you can use the volume when you configure a new clustered service or application.
Specifies the name of the cluster to run this cmdlet on. If you type "-Cluster ." or omit the parameter, the cmdlet runs on the local cluster.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Specifies the cluster shared volume to remove.
Default Value: **
Data Type: psobject
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
true (ByValue) |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Specifies the name of the cluster shared volume to remove.
Default Value: **
Data Type: StringCollection
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
1 |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Command Prompt: C:\PS>
Remove-ClusterSharedVolume "Cluster Disk 3"
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 3 Online Available Storage Physical Disk
Description
-----------
This command removes Cluster Disk 3 from the Cluster Shared Volumes on the local cluster, and places it in Available Storage.
Command Prompt: C:\PS>
Get-ClusterSharedVolume "Cluster Disk 4" | Remove-ClusterSharedVolume
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 4 Online Available Storage Physical Disk
Description
-----------
This command removes Cluster Disk 4 from the Cluster Shared Volumes on the local cluster, and places it in Available Storage.
Add-ClusterSharedVolume
Get-ClusterSharedVolume
Move-ClusterSharedVolume