Mine is on a workstation instead of a DC. I run Update-Help on it and I get this:
PS C:\userscripts\powershell> update-help
update-help : Failed to update Help for the module(s) ‘GroupPolicy’ with UI culture(s) {en-US} : Access to the path
‘C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\GroupPolicy\en-US\Microsoft.GroupPolicy.Commands.dll-help.xml’ is denied.
At line:1 char:1
update-help : Failed to update Help for the module(s) ‘Provisioning’ with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file
for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the
command again.
At line:1 char:1
Mine is on a workstation instead of a DC. I run Update-Help on it and I get this:
PS C:\userscripts\powershell> update-help
update-help : Failed to update Help for the module(s) ‘GroupPolicy’ with UI culture(s) {en-US} : Access to the path
‘C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\GroupPolicy\en-US\Microsoft.GroupPolicy.Commands.dll-help.xml’ is denied.
At line:1 char:1
update-help : Failed to update Help for the module(s) ‘Provisioning’ with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file
for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the
command again.
At line:1 char:1
[edit]I was running an elevated prompt when I got the error. The file permissions on that file appear the same as others in the folder. Nothing seems amiss…
Hmm. Try this, as a diagnostic: Move (not copy) the failing XML file to another location someplace. See if that helps clear it up. The second attempt, if the first fails, would be to move the entire containing folder somewhere else.
I got it fixed. Turns out that there was an xml file in the module folder missing. It was similar to the case I quoted but not the same module. Thanks to Don Jones for pointing out the error on the 2nd module wasn’t fixable and why!