Get-ServiceFabricRuntimeSupportedVersion

Gets a list of all currently supported service fabric runtime versions for standalone deployments.

Syntax

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.

Type:SwitchParameter
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object