Edit

Share via


Start-Cluster

Starts the Cluster service on all nodes of the cluster on which it isn't yet started.

Syntax

Default (Default)

Start-Cluster
    [[-Name] <String>]
    [-IgnorePersistentState]
    [-Wait <Int32>]
    [<CommonParameters>]

Description

The Start-Cluster cmdlet starts the Cluster service on all nodes of the cluster on which it isn't yet started. A node can function as part of the cluster only when the Cluster service is running on that node.

Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

Examples

Example 1

Start-Cluster

This example starts all cluster nodes on the local cluster.

Example 2

Start-Cluster -Name node2

This example starts all cluster nodes on the cluster of which the node named node2 is a part. A node name is required if all cluster nodes are stopped. If the cluster is already running, then the cluster name, assuming the cluster name resource is online, can be used instead of the node name.

Parameters

-IgnorePersistentState

Starts the nodes in the cluster without bringing resources online on the nodes. Note that this behavior will remain until the cluster is restarted or until the cluster property IgnorePersistentStateOnStartup is set to 0.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ips

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of the cluster to start.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Cluster

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Wait

Specifies the time in seconds to wait for the cmdlet. If this parameter isn't specified, then the cmdlet will not return until quorum is achieved. If the value of 0 is specified, the cmdlet will attempt to start the Cluster service on all nodes and then return without waiting.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Inputs

None

Outputs

Microsoft.FailoverClusters.PowerShell.Cluster