Get-ServiceFabricServiceGroupMember
Gets members of service groups.
Syntax
Non-Adhoc (Default)
Get-ServiceFabricServiceGroupMember
[-ApplicationName] <Uri>
[[-ServiceName] <Uri>]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Adhoc
Get-ServiceFabricServiceGroupMember
[[-ServiceName] <Uri>]
[-Adhoc]
[-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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Adhoc
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | Uri |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Non-Adhoc
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ServiceName
Specifies the Uniform Resource Identifier (URI) of a Service Fabric service group.
Parameter properties
Type: | Uri |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
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.