You can use the following keyboard shortcuts when you run scripts in the Script Pane:
Action | Keyboard Shortcut |
---|---|
New | Ctrl+N |
Open | Ctrl+O |
Run | F5 |
Run Selection | F8 |
Stop Execution | Ctrl+BREAK. Ctrl+C can be used when the context is unambiguous (when there is no text selected). |
Tab (to next script) | Ctrl+Tab Note: Tab to next script works only when you have a single Windows PowerShell tab open, or when you have more than one Windows PowerShell tab open, but the focus is in the Script Pane. |
Tab (to previous script) | Ctrl+Shift+Tab Note: Tab to previous script works when you have only one Windows PowerShell tab open, or if you have more than one Windows PowerShell tab open, and the focus is in the Script Pane. |