Resume-ClusterResource

Turns off maintenance for a disk resource or Cluster Shared Volume within a failover cluster.

Syntax

Resume-ClusterResource
      [[-Name] <String>]
      [-VolumeName <String>]
      [-InputObject <PSObject>]
      [-Cluster <String>]
      [<CommonParameters>]

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.

Examples

Example 1

Resume-ClusterResource "Cluster Disk 2"

This example turns off maintenance for the CSV named Cluster Disk 2.

Example 2

Get-ClusterSharedVolume "Cluster Disk 5" | Resume-ClusterResource

This example turns off maintenance for all volumes on the CSV named Cluster Disk 5.

Parameters

-Cluster

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies the cluster resource to resume.

Type:PSObject
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies the name of the cluster resource to resume.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VolumeName

Specifies the name of the volume to suspend. This parameter is only applicable to Cluster Shared Volumes. If this parameter isn't specified, then the operation will be performed on all volumes on the Cluster Shared Volume.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.FailoverClusters.PowerShell.ClusterResource

Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Outputs

Microsoft.FailoverClusters.PowerShell.ClusterResource

Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume