Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Resume-ClusterResource

Resume-ClusterResource

microsoft.failoverclusters.powershell.dll

Synopsis

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

Syntax

Resume-ClusterResource [-Name] [-Cluster] [-InputObject] [-VolumeName] [<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

Accept pipeline input?

false

Accept wildcard characters?

false

-InputObject <PSObject>

Specifies the cluster resource to resume.

Aliases

None

Required?

false

Position

named

Default value

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

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

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.FailoverClusters.PowerShell.ClusterResource
Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterResource
Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Notes

None

Examples

EXAMPLE 1

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

PS C:\>Resume-ClusterResource "Cluster Disk 2"
Name                State               Group               ResourceType 
----                -----               -----               ------------ 
Cluster Disk 2      Online              Available Storage   Physical Disk

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
Name                       State                      Node 
----                       -----                      ---- 
Cluster Disk 5             Online                     node2 

Online Version
Add-ClusterResource
Get-ClusterResource
Move-ClusterResource
Remove-ClusterResource
Start-ClusterResource
Stop-ClusterResource
Suspend-ClusterResource