Start-ClusterGroup

Start-ClusterGroup

Bring one or more clustered services and applications (also known as resource groups) online on a failover cluster.

Syntax

Start-ClusterGroup [-InputObject <psobject>] [[-Name] <string>] [-Cluster <string>] [-Wait <int>] [<CommonParameters>]
  • InputObject

  • Name

  • Cluster

  • Wait

Detailed Description

With this cmdlet, you can bring a clustered service or application back online after taking it offline for maintenance or diagnosis.

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 group to online.

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 group to start.

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

Wait

Specifies the time in seconds to wait for the operation. If this parameter is not specified the operation waits for completion. If "-Wait 0" is specified the call is initiated and the cmdlet returns right away.

Default Value: **

Data Type: int

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.ClusterGroup

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterGroup

Examples

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

Command Prompt: C:\PS>

 
Start-ClusterGroup FileServer1 
 
Name                       OwnerNode                            State 
----                       ---------                            ----- 
FileServer1                node1                               Online

Description

-----------

This command brings the clustered file server (resource group) called FileServer1 online.

 

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

Command Prompt: C:\PS>

 
Start-ClusterGroup FileServer1 -Wait 0 
 
Name                       OwnerNode                            State 
----                       ---------                            ----- 
FileServer1                node1                              Pending

Description

-----------

This command brings the clustered file server (resource group) called FileServer1 online. The prompt returns as soon as the action has been initiated.

See Also

Reference

Add-ClusterGroup
Get-ClusterGroup
Move-ClusterGroup
Remove-ClusterGroup
Stop-ClusterGroup

Other Resources

Online version: