Update JCModule - TheJumpCloud/support GitHub Wiki


external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Update-JCModule schema: 2.0.0

Update-JCModule

SYNOPSIS

Running this function will trigger the update of the JumpCloud PowerShell module.

SYNTAX

Update-JCModule [-SkipUninstallOld] [-Force] [<CommonParameters>]

DESCRIPTION

The Update-JCModule function will check if there is an available update on the PowerShell gallery and if there is it will ask the user if they want to install it.

EXAMPLES

Example 1

Update-JCModule

Running the function will trigger the update process.

PARAMETERS

-Force

ByPasses user prompts.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

-SkipUninstallOld

Skips the "Uninstall-Module" step that will uninstall old version of the module.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

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

None

OUTPUTS

System.Boolean

NOTES

RELATED LINKS