Get-ServiceFabricRuntimeUpgradeVersion

Gets a list of all service fabric runtime versions, which are upgrade compatible to a given version for standalone deployments.

Syntax

Get-ServiceFabricRuntimeUpgradeVersion
   -BaseVersion <String>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricRuntimeUpgradeVersion cmdlet gets details about all upgradeable service fabric runtime versions for a given base version for standalone deployments.

The output of Get-ServiceFabricRuntimeUpgradeVersion 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-ServiceFabricRuntimeUpgradeVersion -BaseVersion [BaseVersion]

Examples

Example 1

PS C:\> Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion 5.4.164.9494

This command gets details about all service fabric runtime versions, which can be upgraded to from version 5.4.164.9494.

Parameters

-BaseVersion

Indicates the service fabric version for which all upgradeable versions need to be retrieved.

Type:String
Position:Named
Default value:None
Required:True
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