Twois
Twois

Reputation: 598

Can I have multiple Powershell Consoles in one window?

So, now I have many open apps, often 3-4 powershell consoles. I'm able to order the powershell windows to watch them together (top left, top right, bottom left, bottom right).

So this means that if I switch to another app, when I switch back I have to restore all multiple powershell windows to see them all again.

What I want is, to create only one 'shared window' for many powershell, because when I need one, I need all of them to see.

Is there a way to do this?

Upvotes: 12

Views: 23127

Answers (5)

cap29
cap29

Reputation: 996

Just to add more details about Windows Terminal approach:

  1. Open a Windows Terminal
  2. Type Alt+Shift+= or Alt+Shift+- to open a new Pane in the same tab
  3. Type Shift+Ctrl+W to close the current Pane

enter image description here

If you need more details or modify the settings, go to next page Panes in Windows Terminal

Upvotes: 23

user14165724
user14165724

Reputation:

Windows now provides the Windows Terminal. Windows Terminal can split the terminal into panes and can also run different shells (i.e. cmd, powershell, and bash through the wsl)

You can install Windows Terminal directly from the Windows Store.

Upvotes: 2

Daniel
Daniel

Reputation: 1402

ConEmu has this option.

You can also configure it to open as much consoles as you want when it starts.

enter image description here

ConEmu website

Enjoy!

Upvotes: 3

Dan Wilson
Dan Wilson

Reputation: 4047

Create a virtual machine where you can run your PowerShell sessions uninterrupted. The PowerShell windows are always where I placed them when I come back.

It could be an expensive solution depending on your needs, but I have been doing this a long time. It's a robust solution since the only user processes on the VM are my PowerShell sessions.

enter image description here

Upvotes: 0

henrycarteruk
henrycarteruk

Reputation: 13217

VSCode can have Multiple Terminals which is the closest to this I've seen, quoted from documentaion:

You can create multiple terminals open to different locations and easily navigate between them. Terminal instances can be added by hitting the plus icon on the top-right of the TERMINAL panel or by triggering the Ctrl+Shift+` command. This creates another entry in the dropdown list that can be used to switch between them.

enter image description here

You can also split the terminal by triggering the Ctrl+\ command or via the right click context menu

enter image description here

Upvotes: 3

Related Questions