Get-ServiceFabricApplicationName
Gets the Service Fabric Application name from the Service Fabric Service name.
Syntax
Default (Default)
Get-ServiceFabricApplicationName
[-ServiceName] <Uri>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricApplicationName cmdlet gets the name of the application for a Service Fabric service.
The output of Get-ServiceFabricApplicationName contains the following information:
-Application Name: The name of the application corresponding to the given service.
Examples
Example 1: Get the application name for a service
PS C:\> Get-ServiceFabricApplicationName -ServiceName fabric:/myapp/persistenttodolist
This command gets the name of the application for the service fabric:/myapp/persistenttodolist.
Parameters
-ServiceName
Specifies a Service Fabric service.
Parameter properties
Type: | Uri |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
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.