Get-ServiceFabricRegisteredClusterCodeVersion
Gets all provisioned fabric code versions in a Service Fabric cluster.
Syntax
Default (Default)
Get-ServiceFabricRegisteredClusterCodeVersion
[[-CodeVersion] <String>]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricRegisteredClusterCodeVersion cmdlet gets provisioned fabric code versions in a Service Fabric cluster. You can specify a particular code version to get.
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 all provisioned fabric code versions
PS C:\> Get-ServiceFabricRegisteredClusterCodeVersion
This command gets all provisioned fabric code versions in a Service Fabric Cluster.
Parameters
-CodeVersion
Specifies a code version. This cmdlet gets only the provisioned fabric code versions that match the code version that this parameter specifies.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| 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.