In Windows PowerShell, updating help used to require Administrator privileges due to a design flaw: help had to be stored in the location where the modules resided. Updating help for Microsoft modules which are stored inside the Windows folder required write access to the Windows folder. That’s why normal users were unable to download and use local PowerShell help.
In PowerShell 7, this design flaw has been corrected, and help can now be stored safely inside the user profile. There is no need any more to touch the installation folders of PowerShell modules.
Run Update-Help with the -Verbose parameter in PowerShell 7 to see the changes:
PS> Update-Help -Verbose
VERBOSE: Resolving URI: "https://go.microsoft.com/fwlink/?LinkId=717973"
VERBOSE: Your connection has been redirected to the following URI:
VERBOSE: Performing the operation "Update-Help" on target "Microsoft.PowerShell.LocalAccounts, Current Version: 188.8.131.52, Available Version: 184.108.40.206, UICulture: en-US".
VERBOSE: Microsoft.PowerShell.LocalAccounts: Updated C:\Users\USERNAME\Dokumente\PowerShell\Help\Microsoft.PowerShell.LocalAccounts\220.127.116.11\en-US\Microsoft.Powershell.LocalAccounts.dll-Help.xml. Culture en-US Version 18.104.22.168
VERBOSE: Resolving URI: "https://go.microsoft.com/fwlink/?linkid=2113632"
VERBOSE: Your connection has been redirected to the following URI: "https://pshelp.blob.core.windows.net/powershell/help/7.0/Microsoft.PowerShell.Management/"
VERBOSE: Performing the operation "Update-Help" on target "Microsoft.PowerShell.Management, Current Version: 22.214.171.124, Available Version: 126.96.36.199, UICulture: en-US".
VERBOSE: Microsoft.PowerShell.Management: Updated C:\Users\USERNAME\Dokumente\PowerShell\Help\en-US\Microsoft.PowerShell.Commands.Management.dll-Help.xml. Culture en-US Version 188.8.131.52
To use the downloaded local help files, you can add the “-?” common parameter to any cmdlet you’d like to learn more about:
PS> Get-Process -?
Gets the processes that are running on the local computer or a remote computer.
If you did not download local help files before, the “-?” parameter shows only limited syntactical help.
ReTweet this Tip!
Powered by IDERA