Freigeben über


Accidental PowerShell 3 Get-Help discovery

Get-Help has always been my favorite cmdlet. Anytime I am stuck, I was able to find lot more information about any given cmdlet when I need.

Until today, my favorite feature was Get-Help's –online parameter. For the cmdlet that have specified online uri of help topic, get-help cmdlet –online takes you straight to cmdlet help page in your browser, given you have internet connectivity on the machine you are running the cmdlet.

That was until today. Today, I was running get-help cmdlet on one of new servers I just built and looking for help, I typed Get-Help and this is what I got:

 Do you want to run Update-Help?
The Update-Help cmdlet downloads the newest Help files for Windows PowerShell modules and installs them on your
computer. For more details, see the help topic at https://go.microsoft.com/fwlink/?LinkId=210614.
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

Who in their right mind would say no? J

Once I pressed enter, PowerShell happily connected online and downloaded updated help files for each module available and then applied it. It then continued to show me updated help for the cmdlet I asked it for.

I am sure this is going to be short lived favorite as I discover more. What will stay with me is new cmdlet… Update-Help. Cheers.