How to do it...

To use the Get-Help function inside PowerShell, run the following steps:

  1. Launch a PowerShell prompt.
  2. Type Get-Help.
  3. You're finished! No, I'm just kidding. Using Get-Help by itself will present you with some helpful data about the Get-Help command, but that's not really what we are looking for, is it? How about using Get-Help with a search parameter, like this:
      Get-Help Computer

Cool! That searched the available cmdlets and presented us with a list of the ones that contain the word Computer. Nice!

  1. Now, what if we wanted to find out some more particular information about one of these cmdlets? Maybe about Restart-Computer ...

Get Windows Server 2016 Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.