Skip to content

Latest commit

 

History

History
138 lines (96 loc) · 3.09 KB

File metadata and controls

138 lines (96 loc) · 3.09 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.FailoverClusters.PowerShell.dll-Help.xml
FailoverClusters
11/22/2022
2.0.0
Move-ClusterResource

Move-ClusterResource

SYNOPSIS

Moves a clustered resource from one clustered role to another within a failover cluster.

SYNTAX

Move-ClusterResource [[-Name] <String>] [[-Group] <String>] [-InputObject <PSObject>]
 [-Cluster <String>] [<CommonParameters>]

DESCRIPTION

The Move-ClusterResource cmdlet moves a clustered resource from one clustered role to another within a failover cluster. When a clustered resource is moved to a different clustered role, the clustered resource will then fail over with that clustered role.

EXAMPLES

Example 1

Move-ClusterResource -Name resource1 -Group group2

This command moves the cluster resource called resource1 to the resource group called group2 on the local cluster.

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
Parameter Sets: (All)
Aliases:

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

-Group

Specifies the name of the cluster group to which to move the resource.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies the cluster resource to move.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Specifies the name of the cluster resource to move.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.FailoverClusters.PowerShell.ClusterResource

OUTPUTS

Microsoft.FailoverClusters.PowerShell.ClusterResource

NOTES

RELATED LINKS

Add-ClusterResource

Get-ClusterResource

Remove-ClusterResource

Resume-ClusterResource

Start-ClusterResource

Stop-ClusterResource

Suspend-ClusterResource