I wanted to use one of the new cool feature of powershell V3 but it failed with the following error:
‘Launching a program to show online help failed. No program is associated to launch URI’
I used procmon to quickly troubleshoot this
Get-help New-JobTrigger -Online
It reports that HKCR\http\shell\open registry key does not exist.
I’ve verified it with powershell as well
To fix this on a W7 computer, I just did:
New-Item -Path 'HKLM:\software\classes\http\shell\open' -Type container New-Item -Path 'HKLM:\software\classes\http\shell\open\command' -Type container Set-ItemProperty -Path 'HKLM:\software\classes\http\shell\open\command' -Name '(default)' -Value '"C:\Program Files\Internet Explorer\iexplore.exe" %1'
And voilà, the -Online switch of the Get-Help cmdlet works as expected 🙂
Note that this fix will probably not work a W8 as there are other additional values under HKLM:\software\classes\http\shell & HKLM:\software\classes\http\shell\open