PowerShell Logo Small

Suspend-ClusterResource



This is the built-in help made by Microsoft for the command 'Suspend-ClusterResource', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Turns on maintenance for a disk resource or Cluster Shared Volume (CSV) so that you can run a disk maintenance tool without triggering failover.

SYNTAX


Suspend-ClusterResource [[-Name] <String>] [-Cluster <String>] [-Force] [-InputObject <PSObject>] [-RedirectedAccess] [-VolumeName <String>] [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Suspend-ClusterResource cmdlet turns on maintenance for a disk resource or Cluster Shared Volume (CSV) so that a disk maintenance tool can be run without triggering
failover.


This cmdlet only applies to disks and CSVs. For Cluster Shared Volumes, turning on maintenance takes dependent resources offline, which interrupts client access. For other
disks (LUNs) in cluster storage, turning on maintenance leaves dependent resources online.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321078
Add-ClusterResource
Get-ClusterResource
Move-ClusterResource
Remove-ClusterResource
Resume-ClusterResource
Start-ClusterResource
Stop-ClusterResource

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Suspend-ClusterResource –Name "Cluster Disk 2"
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 2 Online(Maintenance) Available Storage Physical Disk



This example turns on maintenance for CSV named Cluster Disk 2 so that you can run a disk maintenance tool without triggering failover.




EXAMPLE 2

PS C:\>Get-ClusterSharedVolume –Name "Cluster Disk 5" | Suspend-ClusterResource
Name State Node
---- ----- ----
Cluster Disk 5 Online node2



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