Test-FogVerAbove1dot6¶
SYNOPSIS¶
Tests if the fog version is above 1.6 where api changes have occurred
SYNTAX¶
Test-FogVerAbove1dot6 [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION¶
Tests if the version string matches 1.5 string, if it doesn't then it's likely above 1.6
EXAMPLES¶
EXAMPLE 1¶
Test-FogVerAbove1dot6
This will return true if the fog version is above 1.6 and false if it is 1.5 or below
PARAMETERS¶
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
NOTES¶
Could also make this a script scoped variable, but getting the version requires at least the fog server name
which has to be set in intial setup and would throw errors on first install.