Update-Help -SourcePath Failure on Computer Without Internet Connection
Votes from Connect: 16
Original Date Submitted: 1/21/2013 3:51:42 AM
Handle: Rohn Edwards
Site Name: PowerShell
Feedback ID: 777012
Frequency: Always Happens
Regression: No, this is new to the most recent version
When running Update-Help using the -SourcePath parameter on a machine without an internet connection that has had the help updated already, the command fails with "Unable to connect to Help content. Make sure the server is available and then try the command again." The Save-Help and Update-Help combination works perfectly when updating the help on a system with no help installed. I've seen this on Windows 7 and 8 (both 64-bit).
Deleting helpinfo.xml files from the PowerShell folder ('dir $PSHome -filter helpinfo.xml -recurse | Remove-Item -Confirm') seems to be a workaround for the issue.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 777012 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=777012).
1. Call Save-Help to save the help files
2. Disable the network adapters on the computer
3. Call Update-Help with the -SourcePath parameter pointing to the saved help files
If step #3 is successful, repeat it since it works if no help has been installed.
Successful call to Update-Help without removing helpinfo.xml files so that computers that are on networks not connected to the internet can be updated on a semi-regular basis.
Internal BugId: 4089