Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.29 KB

Update-AvmAuthoring.md

File metadata and controls

54 lines (35 loc) · 1.29 KB

Update-AvmAuthoring

Synopsis

Update Avm.Authoring using the configured PowerShell repositories.

Description

Queries every configured PowerShell repository and selects the highest published version. When repositories have the same highest version, uses configured priority order, then repository name. MAR hosts the module at mcr.microsoft.com/psresource/avm.authoring; PSResourceGet handles that registry prefix while the module name remains Avm.Authoring. If the running module is outdated, safely invokes Update-PSResource for the CurrentUser scope. This command bypasses stale-version enforcement so an outdated module can update itself. Update attempts use the configured repositories that reported that exact version in the same order until one succeeds. No repository receives special priority by name or URI.

Routed by the dispatcher: 'avm upgrade'.

CLI commands

  • avm upgrade

Syntax

Update-AvmAuthoring [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters

This cmdlet has no cmdlet-specific parameters.

Examples

EXAMPLE 1

avm upgrade

EXAMPLE 2

avm upgrade --what-if

Outputs

  • System.Management.Automation.PSObject