Get-ServiceFabricRuntimeSupportedVersion
Gets a list of all currently supported service fabric runtime versions for standalone deployments.
Syntax
Default (Default)
Get-ServiceFabricRuntimeSupportedVersion
[-Latest]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricRuntimeSupportedVersion cmdlet gets details about all currently supported service fabric runtime versions for standalone deployments.
The output of Get-ServiceFabricRuntimeSupportedVersion contains the following information:
-Version: The service fabric runtime version. -SupportExpiryDate : The date when the version goes out of support. -TargetPackageLocation : The link to download the runtime package.
This cmdlet can be run without having Service Fabric cluster running on the machine. To do so:
Download the latest standalone client package from Create a standalone cluster running on Windows Server.
Run DeploymentComponentsAutoextractor.exe present inside the client package. This will create a folder called DeploymentComponents which will have all the deployment binaries required by Service Fabric.
Import-Module .\DeploymentComponents\ServiceFabric.psd1
Run Get-ServiceFabricRuntimeSupportedVersion
Examples
Example 1
PS C:\> Get-ServiceFabricRuntimeSupportedVersion
This command gets details about all supported service fabric runtime versions for standalone deployments.
Example 2
PS C:\> Get-ServiceFabricRuntimeSupportedVersion -Latest
This command gets details about the latest supported service fabric runtime version for standalone deployments.
Parameters
-Latest
Indicates that the command returns only the latest version details.
Parameter properties
Type: | SwitchParameter |
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: | False |
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.