Get SdnServiceFabricService - microsoft/SdnDiagnostics GitHub Wiki
Gets a list of Service Fabric services from Network Controller.
Get-SdnServiceFabricService [-ApplicationName <String>] [-NetworkController <String>]
[-Credential <PSCredential>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-SdnServiceFabricService [-ApplicationName <String>] -ServiceTypeName <String> [-NetworkController <String>]
[-Credential <PSCredential>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-SdnServiceFabricService [-ApplicationName <String>] -ServiceName <String> [-NetworkController <String>]
[-Credential <PSCredential>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Get-SdnServiceFabricService -NetworkController 'Prefix-NC01' -Credential (Get-Credential)
Get-SdnServiceFabricService -NetworkController 'Prefix-NC01' -Credential (Get-Credential) -ServiceTypeName 'ApiService'
A service fabric application name that exists on the provided ring, such as fabric:/NetworkController.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Fabric:/NetworkController
Accept pipeline input: False
Accept wildcard characters: FalseA service fabric service name that is under the provided ApplicationName on the provided ring, such as fabric:/NetworkController/ApiService.
Type: String
Parameter Sets: NamedService
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA service fabric service TypeName, such as VSwitchService
Type: String
Parameter Sets: NamedServiceTypeName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the name of the network controller node on which this cmdlet operates.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $env:COMPUTERNAME
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies a user account that has permission to perform this action. The default is the current user.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.