Powershell Tips–Showwindow

Looking for help is a pain in Powershell. I type something like

help get-process

execute this and I’m scrolling up and down. Things scroll off the screen and I have to muddle through, meanwhile, my code is at the bottom of the window.

posh_help

Even when things stop at the end of the page, like the old man pages in Unix, it’s a cumbersome way to work through something. However there’s a better way.

help get-process –showwindow

If I type this, all of a sudden I get a window of help.

posh_help_b

I can resize the window, move it, keep it handy on the section that’s relevant when I’m trying to write a piece of code.

A very handy tip I got from one of the TechEd 2014 sessions.

About way0utwest

Editor, SQLServerCentral
This entry was posted in Blog and tagged , . Bookmark the permalink.