WINDOWS POWERSHELL INTEGRATED SCRIPTING ENVIRONMENT 4.0 Created by http://powershellmagazine.com KEYBOARD SHORTCUTS General Create new script CTRL+N Open a script CTRL+O New PowerShell tab CTRL+T Open a remote tab CTRL+SHIFT+R Close an open tab Ctrl+W Go to next PowerShell tab CTRL+TAB Go to previous PowerShell tab CTRL+SHIFT+TAB NOTE: To switch between tabs using the above sequence, Console Pane must be in focus. PowerShell ISE help F1 Show Command CTRL+F1 NOTE: Remember that both commands require you to select the command in the Script or Console pane, or at least place the cursor near the command, before invoking the key sequence. Zoom in CTRL+ADD Zoom out CTRL+SUBTRACT Invoke command history #CTRL+SPACE Cycle through history #TAB Start PowerShell.exe CTRL+SHIFT+P Script Pane Close an open script CTRL+F4 Go to next script CTRL+TAB Go to previous script CTRL+SHIFT+TAB NOTE: The shortcuts for switching between tabs are contextual. To switch between tabs using the above sequence, Script Pane must be in focus. Start snippets CTRL+J Toggle regions CTRL+M Find in script CTRL+F Find next in script F3 Find previous in script SHIFT+F3 Replace in script CTRL+H Go to line CTRL+G Go to match CTRL+] NOTE: "Go to match" edit menu option will be available only when the cursor is pointed at script block beginning/end. In other words, it must be placed at the opening or closing brace. To upper case CTRL+SHIFT+U To lower case CTRL+U Transpose lines ALT+SHIFT+T Start IntelliSense CTRL+SPACE Go to Console Pane CTRL+D Show / Hide Script Pane CTRL+R Show Script Pane top CTRL+1 Show Script Pane right CTRL+2 Show Script Pane maximized CTRL+3 NOTE: Only a subset of above Script Pane keyboard shortcuts are available, depending on the current Script Pane state. Console Pane Go to Script Pane CTRL+I Cycle through command history UP ARROW DOWN ARROW Scroll to the output CTRL+UP ARROW Execution Run a script F5 Run only selection F8 Run current caret line F8 Stop execution CTRL+BREAK CTRL+C NOTE: Using CTRL+C for script execution termination works only when no text selected in the Script or Console Pane. Debugging (Script Pane) Toggle breakpoint F9 Run/Continue F5 Step into F11 Step over F10 Step out SHIFT+F11 Display call stack CTRL+SHIFT+D List breakpoints CTRL+SHIFT+L Remove all breakpoints CTRL+SHIFT+F9 Stop debugger SHIFT+F5 Debugging (Console Pane) Continue C Step into S Step over V Step out O Repeat last command Enter Display call stack K Stop debugger Q List the script L Display console debug commands H or ? PowerShell_ISE.exe -File "file1.ps1, file2.ps1" [Opens file1 & file2] -NoProfile [Does not run profile script] -MTA [Starts ISE in MTA mode] PowerShell_ISE.exe PARAMETERS