Get-ServiceFabricServiceGroupMember

Gets members of service groups.

Syntax

Get-ServiceFabricServiceGroupMember
   [-ApplicationName] <Uri>
   [[-ServiceName] <Uri>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]
Get-ServiceFabricServiceGroupMember
   [-Adhoc]
   [[-ServiceName] <Uri>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricServiceGroupMember cmdlet gets members of Service Fabric service groups.

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: Get a service group members

PS C:\> Get-ServiceFabricServiceGroupMember -ApplicationName -ServiceName fabric:/CalcApp

The command gets Service Fabric service group members for the service named fabric:/CalcApp.

Parameters

-Adhoc

Indicates that the service runs in ad hoc mode. In ad hoc mode, you manually activate the service host.

Type:SwitchParameter
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ApplicationName

Specifies the Uniform Resource Identifier (URI) of a Service Fabric application. This cmdlet gets group members for the application that this parameter specifies.

Type:Uri
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ServiceName

Specifies the Uniform Resource Identifier (URI) of a Service Fabric service group.

Type:Uri
Position:1
Default value:None
Required:False
Accept pipeline input:True
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

System.Uri

Outputs

System.Object