Prerequisites
Steps to reproduce
See MicrosoftDocs/PowerShell-Docs#12460 for original report.
On Windows PowerShell 5.1 fresh install, Update-Help reports error on help file for module Microsoft.PowerShell.Host 3.0.0.0 - downloaded XML is corrupted
However, md files are correct
Attached corrupted file
Microsoft.PowerShell.ConsoleHost.dll-help.xml
Update-Help repository
CAB location
[18:25:44] C:\Var\Temp # Update-Help -Module "Microsoft.PowerShell.Host" -Force
Update-Help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Host' with UI culture(s) {en-US} : There ar e multiple root elements. Line 71, position 21.
At line:1 char:1
+ Update-Help -Module "Microsoft.PowerShell.Host" -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand
Expected behavior
Actual behavior
Error details
Environment data
Version
1.0.1
Visuals
No response
Prerequisites
Steps to reproduce
See MicrosoftDocs/PowerShell-Docs#12460 for original report.
On Windows PowerShell 5.1 fresh install, Update-Help reports error on help file for module Microsoft.PowerShell.Host 3.0.0.0 - downloaded XML is corrupted
However, md files are correct
Attached corrupted file
Microsoft.PowerShell.ConsoleHost.dll-help.xml
Update-Help repository
CAB location
Expected behavior
Updated helpActual behavior
Error messageError details
Environment data
Windows PowerShell 5.1Version
1.0.1
Visuals
No response