Compartir a través de


Resume-ClusterResource

Resume-ClusterResource

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

Syntax

Resume-ClusterResource [-InputObject <psobject>] [[-Name] <string>] [-Cluster <string>] [-VolumeName <string>] [<CommonParameters>]
  • InputObject

  • Name

  • Cluster

  • VolumeName

Detailed Description

This cmdlet applies to disks and Cluster Shared Volumes only. We recommend that you turn off maintenance for a disk or Cluster Shared Volume as soon as you have completed the maintenance tasks that you are performing.

Parameters

Cluster

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

InputObject

Specifies the cluster resource to resume.

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

Name

Specifies the name of the cluster resource to resume.

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?

1

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

VolumeName

Specifies the name of the volume to suspend. This parameter is only applicable to cluster shared volumes. If this parameter is not specified, the operation will be performed on all volumes on the cluster shared volume.

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

Input Type

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

Return Type

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

Examples

-------------------------- EXAMPLE 1 --------------------------

Command Prompt: C:\PS>

 
Resume-ClusterResource "Cluster Disk 2" 
 
Name                State           Group               ResourceType 
----                -----           -----               ------------ 
Cluster Disk 2      Online          Available Storage   Physical Disk

Description

-----------

This command turns off maintenance for Cluster Disk 2.

 

-------------------------- EXAMPLE 2 --------------------------

Command Prompt: C:\PS>

 
Get-ClusterSharedVolume "Cluster Disk 5" | Resume-ClusterResource 
 
Name                       State                      Node 
----                       -----                      ---- 
Cluster Disk 5             Online                     node2

Description

-----------

This command turns off maintenance for all volumes on the Cluster Shared Volume "Cluster Disk 5."

See Also

Reference

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

Other Resources

Online version: