You can split your PowerShell window into multiple panes using the Windows Terminal app, which allows you to run separate commands or scripts side by side for improved workflow efficiency. This setup is ideal for monitoring logs, running scripts, and testing commands simultaneously without switching tabs.

What You'll Need

  • Windows 10 version 1903 or later, or Windows 11
  • Windows Terminal (available free from Microsoft Store)
  • A keyboard and mouse

Step-by-Step

  1. Open Windows Terminal from the Start menu or by searching for it.
  2. Once open, press Alt + Shift + D to split the current pane vertically, creating two side-by-side PowerShell tabs.
  3. To split horizontally instead, press Alt + Shift + - (Alt + Shift + minus key).
  4. You can repeat these shortcuts to create additional panes — for example, split one pane again to get three or four panes total.
  5. To navigate between panes, use Alt + Arrow Keys (left, right, up, down) to move focus.
  6. To resize a pane, hold Alt and press the arrow keys repeatedly to expand or shrink the focused pane in that direction.
  7. Each pane runs an independent PowerShell session — you can run different commands in each, such as Get-Process in one and Test-Connection in another.
  8. To close a pane, focus on it and press Ctrl + Shift + W or click the 'X' on the tab.
  9. To save your split layout for future use, go to the dropdown menu (▼) > Settings > Profiles > Defaults > Launch > Starting directory and layout, or manually configure a custom profile in settings.json.

Common Mistakes

  • Trying to use PowerShell’s built-in splitting features — PowerShell.exe does not natively support pane splitting; this only works in Windows Terminal.
  • Using the wrong keyboard shortcuts — ensure you’re using Alt + Shift combinations, not just Alt or Ctrl alone.
  • Assuming split panes share the same session — each pane is independent; variables or functions defined in one won’t be available in another unless you dot-source or use shared scopes.
  • Forgetting that resizing requires holding Alt — pressing arrow keys alone just changes focus.

Tips

  • Customize your startup layout by editing the settings.json file in Windows Terminal (access via Settings > Open JSON file) to define a split configuration with specific pane sizes and commands.
  • Use different color schemes per pane via profiles to visually distinguish tasks (e.g., one for debugging, one for monitoring).
  • Name your tabs by right-clicking the tab title and selecting Rename — helpful when managing multiple related tasks.
  • Use Alt + Shift + Enter to toggle full-screen mode for the active pane while keeping the split layout intact.
  • If you frequently use a specific split, save it as a custom profile under Settings > Profiles > New profile > Launch command and set the split mode in the JSON.

Troubleshooting

  • Shortcuts don’t work: Ensure Windows Terminal is updated — open Microsoft Store, search for Windows Terminal, and click Update if available. Older versions may lack or have different shortcuts.
  • Panes aren’t splitting: Confirm you’re using the correct key combination — some keyboards (especially laptops) may require Fn + Alt + Shift + D or -. Try using the menu: click the dropdown (▼) > Split Pane > Vertical/Horizontal.
  • Can’t navigate between panes: Make sure no modal dialog or prompt is blocking input — close any active Read-Host or confirmation prompts in a pane before trying to switch focus.
  • Layout resets after restart: Windows Terminal doesn’t save split layouts by default — you must save them as a custom profile or use settings.json to define a startup split.
  • Performance lag with many panes: Each pane consumes resources — limit to 4 panes unless necessary, and avoid running heavy scripts in all at once.

Frequently Asked Questions

Can I split the screen in the legacy Windows PowerShell console?

No, the traditional PowerShell.exe console does not support pane splitting. You must use Windows Terminal for this feature.

Do split panes share command history or variables?

No, each pane runs an independent PowerShell session. Variables, functions, and command history are not shared between panes unless explicitly imported.

Can I run different shells (like CMD or WSL) in split panes?

Yes, Windows Terminal allows each pane to run a different profile — you can have PowerShell, Command Prompt, and a WSL distribution all open side by side.

Is there a way to save my split layout so it opens automatically?

Yes, create a custom profile in Windows Terminal Settings > Profiles > New profile, then set the launch mode to split and define the pane configuration in the settings.json file.

What if my keyboard doesn’t have an Alt key?

You can use the mouse: click the dropdown menu (▼) in the title bar, then select Split Pane > Vertical or Horizontal to create a new pane without keyboard shortcuts.