Skip to content

Get SdnServiceFabricService

Adam Rudell edited this page Oct 30, 2024 · 4 revisions

Get-SdnServiceFabricService

SYNOPSIS

Gets a list of Service Fabric services from Network Controller.

SYNTAX

Default (Default)

Get-SdnServiceFabricService [-ApplicationName <String>] [-NetworkController <String>]
 [-Credential <PSCredential>] [<CommonParameters>]

NamedServiceTypeName

Get-SdnServiceFabricService [-ApplicationName <String>] -ServiceTypeName <String> [-NetworkController <String>]
 [-Credential <PSCredential>] [<CommonParameters>]

NamedService

Get-SdnServiceFabricService [-ApplicationName <String>] -ServiceName <String> [-NetworkController <String>]
 [-Credential <PSCredential>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-SdnServiceFabricService -NetworkController 'Prefix-NC01' -Credential (Get-Credential)

EXAMPLE 2

Get-SdnServiceFabricService -NetworkController 'Prefix-NC01' -Credential (Get-Credential) -ServiceTypeName 'ApiService'

PARAMETERS

-ApplicationName

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: False

-ServiceName

A 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: False

-ServiceTypeName

A 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: False

-NetworkController

Specifies 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: False

-Credential

Specifies 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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Documentation

How To Guides:

Troubleshooting Guides

Learning

Functions

Clone this wiki locally