Enable-ServiceFabricNode
Enables a Service Fabric node.
Syntax
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.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object