Share via


Get-ServiceFabricRuntimeUpgradeVersion

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

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
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.

Inputs

None

Outputs

System.Object