Get-​Service​Fabric​Cluster​Connection

Gets the current Service Fabric cluster connection.

Syntax

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.

Optional Parameters

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object