Start-Cluster
Start-Cluster
Start the Cluster service on all nodes of the cluster on which it is not yet started.
Syntax
Start-Cluster [[-Name] <string>] [-Wait <int>] [<CommonParameters>]
- Name
- Wait
Detailed Description
A node can function as part of the cluster only when the Cluster service is running on that node.
Parameters
Name
Specifies the name of the cluster 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 cmdlet will not return until quorum is achieved. If "-Wait 0" is specified the cmdlet will attempt to start the Cluster service on all nodes and then return 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
Return Type
Microsoft.FailoverClusters.PowerShell.Cluster
Examples
-------------------------- EXAMPLE 1 --------------------------
Start-Cluster Name ---- mycluster
Description
-----------
This command starts all cluster nodes on the local cluster.
-------------------------- EXAMPLE 2 --------------------------
Start-Cluster node2 Name ---- mycluster
Description
-----------
This command starts all cluster nodes on the cluster which node node2 is part of. A node name is required if all cluster nodes are stopped. If the cluster is already up, then the cluster name (assuming the cluster name resource is online) can be used instead of the node name.
See Also
Reference
Get-ClusterGet-ClusterNode
New-Cluster
Remove-Cluster
Stop-Cluster
Test-Cluster
Other Resources
Online version:
