Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Resume-ClusterResource

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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.

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"
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 

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.