|
| 1 | +--- |
| 2 | +external help file: Microsoft.FailoverClusters.Adless.PowerShell.psm1-help.xml |
| 3 | +Module Name: FailoverClusters |
| 4 | +online version: |
| 5 | +schema: 2.0.0 |
| 6 | +--- |
| 7 | + |
| 8 | +# Add-WorkgroupClusterNode |
| 9 | + |
| 10 | +## SYNOPSIS |
| 11 | +Adds a node to a workgroup cluster. |
| 12 | + |
| 13 | +## SYNTAX |
| 14 | + |
| 15 | +``` |
| 16 | +Add-WorkgroupClusterNode [-Node] <String[]> [-Credentials] <PSCredential[]> [-Name] <String> |
| 17 | + [-Credential] <PSCredential> [-NoStorage] [-Confirm] [-WhatIf] [<CommonParameters>] |
| 18 | +``` |
| 19 | + |
| 20 | +## DESCRIPTION |
| 21 | + |
| 22 | +The `Add-WorkgroupClusterNode` cmdlet adds a node to a workgroup cluster. |
| 23 | + |
| 24 | +## EXAMPLES |
| 25 | + |
| 26 | +### EXAMPLE 1 |
| 27 | + |
| 28 | +```powershell |
| 29 | +$params = @{ |
| 30 | + Node = @("Node1", "Node2") |
| 31 | + Credentials = @($cred1, $cred2) |
| 32 | + Name = "Node3" |
| 33 | + Credential = $cred3 |
| 34 | +} |
| 35 | +Add-WorkgroupClusterNode @params |
| 36 | +``` |
| 37 | + |
| 38 | +This example adds `Node3` to the cluster whose membership is comprised of `Node1` and `Node2`. |
| 39 | + |
| 40 | +## PARAMETERS |
| 41 | + |
| 42 | +### -Node |
| 43 | + |
| 44 | +An array of nodes to be added to the cluster. |
| 45 | + |
| 46 | +```yaml |
| 47 | +Type: String[] |
| 48 | +Parameter Sets: (All) |
| 49 | +Aliases: |
| 50 | + |
| 51 | +Required: True |
| 52 | +Position: 1 |
| 53 | +Default value: None |
| 54 | +Accept pipeline input: False |
| 55 | +Accept wildcard characters: False |
| 56 | +``` |
| 57 | +
|
| 58 | +### -Credentials |
| 59 | +
|
| 60 | +An array of credentials for the nodes. |
| 61 | +
|
| 62 | +```yaml |
| 63 | +Type: PSCredential[] |
| 64 | +Parameter Sets: (All) |
| 65 | +Aliases: |
| 66 | + |
| 67 | +Required: True |
| 68 | +Position: 2 |
| 69 | +Default value: None |
| 70 | +Accept pipeline input: False |
| 71 | +Accept wildcard characters: False |
| 72 | +``` |
| 73 | +
|
| 74 | +### -Name |
| 75 | +
|
| 76 | +The name of the node to be added. |
| 77 | +
|
| 78 | +```yaml |
| 79 | +Type: String |
| 80 | +Parameter Sets: (All) |
| 81 | +Aliases: |
| 82 | + |
| 83 | +Required: True |
| 84 | +Position: 3 |
| 85 | +Default value: None |
| 86 | +Accept pipeline input: False |
| 87 | +Accept wildcard characters: False |
| 88 | +``` |
| 89 | +
|
| 90 | +### -Credential |
| 91 | +
|
| 92 | +The credential for the node to be added. |
| 93 | +
|
| 94 | +```yaml |
| 95 | +Type: PSCredential |
| 96 | +Parameter Sets: (All) |
| 97 | +Aliases: |
| 98 | + |
| 99 | +Required: True |
| 100 | +Position: 4 |
| 101 | +Default value: None |
| 102 | +Accept pipeline input: False |
| 103 | +Accept wildcard characters: False |
| 104 | +``` |
| 105 | +
|
| 106 | +### -NoStorage |
| 107 | +
|
| 108 | +Specifies that shared storage is ignored for the workgroup cluster node. |
| 109 | +
|
| 110 | +```yaml |
| 111 | +Type: SwitchParameter |
| 112 | +Parameter Sets: (All) |
| 113 | +Aliases: |
| 114 | + |
| 115 | +Required: False |
| 116 | +Position: Named |
| 117 | +Default value: False |
| 118 | +Accept pipeline input: False |
| 119 | +Accept wildcard characters: False |
| 120 | +``` |
| 121 | +
|
| 122 | +### -Confirm |
| 123 | +
|
| 124 | +Prompts you for confirmation before running the cmdlet. |
| 125 | +
|
| 126 | +```yaml |
| 127 | +Type: SwitchParameter |
| 128 | +Parameter Sets: (All) |
| 129 | +Aliases: |
| 130 | + |
| 131 | +Required: False |
| 132 | +Position: Named |
| 133 | +Default value: False |
| 134 | +Accept pipeline input: False |
| 135 | +Accept wildcard characters: False |
| 136 | +``` |
| 137 | +
|
| 138 | +### -WhatIf |
| 139 | +
|
| 140 | +Shows what would happen if the cmdlet runs. The cmdlet isn't run. |
| 141 | +
|
| 142 | +```yaml |
| 143 | +Type: SwitchParameter |
| 144 | +Parameter Sets: (All) |
| 145 | +Aliases: |
| 146 | + |
| 147 | +Required: False |
| 148 | +Position: Named |
| 149 | +Default value: False |
| 150 | +Accept pipeline input: False |
| 151 | +Accept wildcard characters: False |
| 152 | +``` |
| 153 | +
|
| 154 | +### CommonParameters |
| 155 | +
|
| 156 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, |
| 157 | +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, |
| 158 | +-WarningAction, and -WarningVariable. For more information, see |
| 159 | +[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters). |
| 160 | +
|
| 161 | +## INPUTS |
| 162 | +
|
| 163 | +## OUTPUTS |
| 164 | +
|
| 165 | +## NOTES |
| 166 | +
|
| 167 | +## RELATED LINKS |
| 168 | +
|
| 169 | +
|
0 commit comments