Navigating around PowerShell can be made easier using keystrokes. I remember the old DOS and Commodore 64 games that I used to play with the keyboard. It reminds me of the good ole days. Enough reminiscing though, on to the good stuff. Here are some keyboard controls to make things more efficient:
Tab complete - typing the first part of a Cmdlet, Function, Parameter, Path ect. followed by hitting the Tab key will employ PowerShell to complete it for you. The ensures that the command or path is both present and available as well as spelled correctly.
Up Arrow/Down Arrow History - Use the up arrow to scroll through the history of commands you have used as well as the down arrow to reverse direction. Once you have the one you want simply hit enter to rerun it.
Ctrl + R - In the ISE environment you can toggle between a full screen console and the split screen by simply pressing "Ctrl + r". This is handy if you are working on a script and need to see a lot of output.
Tab complete - typing the first part of a Cmdlet, Function, Parameter, Path ect. followed by hitting the Tab key will employ PowerShell to complete it for you. The ensures that the command or path is both present and available as well as spelled correctly.
Up Arrow/Down Arrow History - Use the up arrow to scroll through the history of commands you have used as well as the down arrow to reverse direction. Once you have the one you want simply hit enter to rerun it.
Ctrl + R - In the ISE environment you can toggle between a full screen console and the split screen by simply pressing "Ctrl + r". This is handy if you are working on a script and need to see a lot of output.
RSS Feed