Enable-ServiceFabricNode
Enables a Service Fabric node.
Syntax
Default (Default)
Enable-ServiceFabricNode
[-NodeName] <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Enable-ServiceFabricNode cmdlet enables a previously disabled Service Fabric node. Use this cmdlet after a node has been disabled and the administrative task completed. This cmdlet can also cancel an existing Disable-ServiceFabricNode command.
To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.
Examples
Example 1: Enable a node
PS C:\> Enable-ServiceFabricNode -NodeName "DB.41"
This command enables a node named DB.41.
Parameters
-NodeName
Specifies the name of a Service Fabric node. The cmdlet enables the node that you specify.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
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.