Update-Help difference

Between Windows PowerShell v5.1 and PowerShell v6.x I’ve noticed an Update-Help difference.

In Windows PowerShell v5.1 I can just do this:

Update-Help  -Force

from an elevated prompt.

In PowerShell v6.0 and V6.1 previews I have to give the UI culture I want

Update-Help -UICulture en-US –Force

All instances – PowerShell v5.1, v6.0.3 and v6.1 preview 4 are running on a single Windows 10 machine. The UI culture is en-GB for all PowerShell instances and versions.

Not a major problem now I’ve tried using the en-US culture but it explains why I wasn’t getting help before.

This entry was posted in PowerShell v5, PowerShell v6. Bookmark the permalink.

2 Responses to Update-Help difference

  1. cavallogolooso says:

    Hi! I’ve tried this:

    PS C:\WINDOWS\system32> Update-Help -UICulture it-IT –Force

    (translation: “it’s impossibile to update help for the following modules” …)

    Update-Help : Impossibile aggiornare la Guida per i moduli ‘AppBackgroundTask, AppLocker, AppvClient, Appx,
    AssignedAccess, BitLocker, BranchCache, ConfigCI, Dism, DnsClient, EventTracingManagement, International, iSCSI, ISE,
    Kds, Microsoft.PowerShell.Archive, Microsoft.PowerShell.Core, Microsoft.PowerShell.Diagnostics,
    Microsoft.PowerShell.Host, Microsoft.PowerShell.LocalAccounts, Microsoft.PowerShell.Management,
    Microsoft.PowerShell.ODataUtils, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility,
    Microsoft.WSMan.Management, MMAgent, MsDtc, NetAdapter, NetConnection, NetEventPacketCapture, NetLbfo, NetNat, NetQos,
    NetSecurity, NetSwitchTeam, NetTCPIP, NetworkConnectivityStatus, NetworkSwitchManager, NetworkTransition, PcsvDevice,
    PKI, PnpDevice, PowerShellGet, PrintManagement, ProcessMitigations, Provisioning, PSDesiredStateConfiguration,
    PSReadline, PSScheduledJob, PSWorkflow, PSWorkflowUtility, ScheduledTasks, SecureBoot, SmbShare, SmbWitness,
    StartLayout, Storage, TLS, TroubleshootingPack, TrustedPlatformModule, UEV, VpnClient, Wdac, WindowsDeveloperLicense,
    WindowsErrorReporting, WindowsSearch, WindowsUpdate’ con impostazioni di cultura dell’interfaccia utente {it-IT}:

    (translation : with culture UI it-IT)

    Impossibile trovare impostazioni di cultura dell’interfaccia utente corrispondenti al modello seguente: it-IT.

    (tr: “impossible to find settings for the culture UI matching the following model: it-IT )

    Verificare il modello ed eseguire di nuovo il comando.

    (tr: “check out the model and run another time the command”)

    In riga:1 car:1
    + Update-Help -UICulture it-IT –Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (System.Collecti…[System.String]:HashSet`1) [Update-Help], Exception
    + FullyQualifiedErrorId : HelpCultureNotSupported,Microsoft.PowerShell.Commands.UpdateHelpCommand

    Update-Help : Impossibile aggiornare la Guida per i moduli ‘BitsTransfer, CimCmdlets, Defender,
    Microsoft.PowerShell.Operation.Validation, PackageManagement, WindowsUpdateProvider’ con impostazioni di cultura
    dell’interfaccia utente {it-IT}: Impossibile recuperare il file XML HelpInfo per le impostazioni di cultura
    dell’interfaccia utente it-IT. Assicurarsi che la proprietà HelpInfoUri nel manifesto del modulo sia valida o
    controllare la connessione di rete ed eseguire di nuovo il comando.
    In riga:1 car:1
    + Update-Help -UICulture it-IT –Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

    Update-Help : Impossibile aggiornare la Guida per i moduli ‘DirectAccessClientComponents, PackageManagement’ con
    impostazioni di cultura dell’interfaccia utente {it-IT}: Impossibile connettersi al contenuto della Guida. Il server
    in cui è archiviato il contenuto della Guida potrebbe non essere disponibile. Verificare che il server sia disponibile
    o attendere che torni online, quindi provare a ripetere il comando.
    In riga:1 car:1
    + Update-Help -UICulture it-IT –Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s