Get-FinOpsToolkitVersion command

The Get-FinOpsToolkitVersions command calls GitHub to retrieve all toolkit releases, then filters the list based on the specified options.


Syntax

Get-FinOpsToolkitVersion `
    [-Latest] `
    [-Preview] `
    [<CommonParameters>]

Parameters

Name Description
Latest Optional. Indicates that only the most recent release should be returned. Default = false.
Preview Optional. Indicates that preview releases should also be included. Default = false.

Examples

The following examples demonstrate how to use the Get-FinOpsToolkitVersion command to retrieve available versions from published FinOps toolkit releases.

Get stable release versions

Get-FinOpsToolkitVersion

Returns all stable (non-preview) release versions.

Get latest stable release only

Get-FinOpsToolkitVersion -Latest

Returns only the latest stable (non-preview) release version.

Get all versions

Get-FinOpsToolkitVersion -Preview

Returns all release versions, including preview releases.


Related solutions: