Add-WorkgroupClusterNode
Adds a node to a workgroup cluster.
Syntax
Add-WorkgroupClusterNode
[-Node] <String[]>
[-Credentials] <PSCredential[]>
[-Name] <String>
[-Credential] <PSCredential>
[-NoStorage]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
The Add-WorkgroupClusterNode
cmdlet adds a node to a workgroup cluster.
Examples
EXAMPLE 1
$params = @{
Node = @("Node1", "Node2")
Credentials = @($cred1, $cred2)
Name = "Node3"
Credential = $cred3
}
Add-WorkgroupClusterNode @params
This example adds Node3
to the cluster whose membership is comprised of Node1
and Node2
.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
The credential for the node to be added.
Type: | PSCredential |
Position: | 4 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credentials
An array of credentials for the nodes.
Type: | PSCredential[] |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the node to be added.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Node
An array of nodes to be added to the cluster.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NoStorage
Specifies that shared storage is ignored for the workgroup cluster node.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |