Skip to content

Get-ibPSVersion

SYNOPSIS

Checks the version of ibPS, with the option to update if a version is available

SYNTAX

Get-ibPSVersion [-Details] [-CheckForUpdates] [-Update] [-Cleanup] [-Force] [<CommonParameters>]

DESCRIPTION

This function is used check the current version of ibPS, with the option to check for updates and update if a version is available

EXAMPLES

EXAMPLE 1

Get-ibPSVersion

EXAMPLE 2

Get-ibPSVersion -CheckForUpdates

EXAMPLE 3

Get-ibPSVersion -Update

PARAMETERS

-Details

This switch will return installation details, such as module location and install type

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-CheckForUpdates

This switch indicates you want to check for new versions

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Update

This switch will perform an upgrade if one is available

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Cleanup

This switch will remove all except the latest version of ibPS automatically. Best to run as Administrator to avoid permissions issues if modules are installed globally.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Force

This switch will force an update, whether or not one is available

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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