Resume-ClusterResource
Resume-ClusterResource
Turns off maintenance for a disk resource or Cluster Shared Volume within a failover cluster.
Syntax
Parameter Set: InputObject
Resume-ClusterResource [[-Name] <String> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-VolumeName <String> ] [ <CommonParameters>]
Detailed Description
The Resume-ClusterResource cmdlet turns off maintenance for a disk resource or Cluster Shared Volume within a failover cluster.
This cmdlet applies to disks and Cluster Shared Volumes only. We recommend that maintenance be turned off for a disk or Cluster Shared Volume as soon as the maintenance tasks have been completed.
Parameters
-Cluster<String>
Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is .
or it is omitted, then the cmdlet runs on the local cluster.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-InputObject<PSObject>
Specifies the cluster resource to resume.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of the cluster resource to resume.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VolumeName<String>
Specifies the name of the volume to suspend. This parameter is only applicable to Cluster Shared Volumes. If this parameter is not specified, then the operation will be performed on all volumes on the Cluster Shared Volume.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.FailoverClusters.PowerShell.ClusterResource
- Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.FailoverClusters.PowerShell.ClusterResource
- Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume
Examples
EXAMPLE 1
This example turns off maintenance for the CSV named Cluster Disk 2.
PS C:\> Resume-ClusterResource "Cluster Disk 2"
EXAMPLE 2
This example turns off maintenance for all volumes on the CSV named Cluster Disk 5.
PS C:\> Get-ClusterSharedVolume "Cluster Disk 5" | Resume-ClusterResource