PowerTip: Float Your PowerShell Help

PowerTip: Float Your PowerShell Help

  • Comments 5
  • Likes

Summary: Learn how to create a floating window for your Windows PowerShell Help.

Hey, Scripting Guy! Question How can I open Windows PowerShell 3.0 Help in a new window without tying up my Windows PowerShell console?

Hey, Scripting Guy! Answer Use the –ShowWindow parameter with Get-Help, as shown here.

help Get-DhcpServerInDC -ShowWindow

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Way cool!

    Klaus

  • @K_Schulte thank you. I like using this technique because often when I am working at the PowerShell console I need to refer to the syntax of a cmdlet. Having it open in a floating window is a great option. In PowerShell 2, I used to open two PowerShell consoles -- one to search help, and one to build my commands. Now I do not need to do that.

  • Hmm, this is kewl...  I've been using the -online to pull it up in a browser window for that very purpose (not to clutter my console)

  • I'm using powershell v2 and when I type  "get-help Get-DhcpServerInDC -ShowWindow" I get the following error.

    Get-Help : A parameter cannot be found that matches parameter name 'ShowWindow'.

    At line:1 char:40

    + get-help Get-DhcpServerInDC -ShowWindow <<<<

       + CategoryInfo          : InvalidArgument: (:) [Get-Help], ParameterBindingException

       + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetHe

      lpCommand

    Any thoughts?

  • @Heath

    it could be very possible that the -showwindow is only for v3 of powershell. I wouldn't worry about it too much just upgrade. check out this link social.technet.microsoft.com/.../upgrading-powershell-v2-to-powershell-v3-on-windows-7-64bit