Skip to content

Get-PodeVersion

SYNOPSIS

Gets the version of the Pode module.

SYNTAX

Get-PodeVersion [-NoPreRelease]

DESCRIPTION

Retrieves the version of the Pode module specified in the module manifest. If the module version is not a placeholder value, it returns the actual version prefixed with 'v', and any pre-release information if available. If the module version is the placeholder value, indicating the development branch, it returns '[dev]'.

EXAMPLES

EXAMPLE 1

$version = Get-PodeVersion

PARAMETERS

-NoPreRelease

If specified, the function will not include any pre-release information in the returned version string.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

INPUTS

OUTPUTS

NOTES