Get-ServiceFabricClusterConnection
Gets the current Service Fabric cluster connection.
Syntax
Default (Default)
Get-ServiceFabricClusterConnection
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricClusterConnection cmdlet gets the current Service Fabric cluster connection. To create a cluster connection, use the Connect-ServiceFabricCluster cmdlet.
Examples
Example 1: Get the current cluster connection
PS C:\> Get-ServiceFabricClusterConnection
This command gets the current Service Fabric cluster connection.
Parameters
-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.