Skip to content

Get SdnServiceFabricPartition

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

Get-SdnServiceFabricPartition

SYNOPSIS

Gets information about the partitions of a specified Service Fabric partition or service from Network Controller.

SYNTAX

NamedService (Default)

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

NamedServiceTypeName

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

PartitionID

Get-SdnServiceFabricPartition -PartitionId <Guid> [-NetworkController <String>] [-Credential <PSCredential>]
 [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-SdnServiceFabricPartition -PartitionId 1a7a780e-dbfe-46d3-92fb-76908a95ce54

EXAMPLE 2

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

EXAMPLE 3

Get-SdnServiceFabricPartition -NetworkController 'Prefix-NC01' -Credential (Get-Credential) -ServiceName 'fabric:/NetworkController/ApiService'

PARAMETERS

-ApplicationName

A service fabric application name that exists on the provided ring, such as fabric:/NetworkController.

Type: String
Parameter Sets: NamedService, NamedServiceTypeName
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

-PartitionId

{{ Fill PartitionId Description }}

Type: Guid
Parameter Sets: PartitionID
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