Repository navigation
Closed
Closed
Copy link
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.WG-Interactive-HelpSystemhelp infrastructure and formatting of helphelp infrastructure and formatting of help
Description
Steps to reproduce
update-help -force
Expected behavior
No errors
Actual behavior
update-help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Archive, Microsoft.PowerShell.Core, Microsoft.PowerShell.Host, Microsoft.PowerShell.Management, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility, PackageManagement, PowerShellGet, PSReadLine' with UI culture(s) {en-US} : Access to the path '/opt/microsoft/powershell/6.0.0-alpha.18/en-US/Microsoft.PowerShell.Commands.Management.dll-Help.xml' is denied.
Environment data
PS /home/maxt> cat /etc/issue
Ubuntu 16.04.2 LTS \n \l
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.18
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.WG-Interactive-HelpSystemhelp infrastructure and formatting of helphelp infrastructure and formatting of help

Activity
iSazonov commentedon Apr 7, 2017
Maximo Trinidad (@MaximoTrinidad) Can you run with elevated rights?
MaximoTrinidad commentedon Apr 7, 2017
Hi Ilya (@iSazonov) ,
Let me try that! OK..
It works!
sudo powershell
update-help -force
Thanks,
Max
iSazonov commentedon Apr 8, 2017
It would be good to make a more user-friendly message.
SteveL-MSFT commentedon Apr 11, 2017
Fixing this should resolve the real issue