M HYPE SPLASH
// updates

Multiple instances of Windows Powershell in one window

By Emma Valentine

I tried to open multiple instances of Powershell in one window only by searching online but there was no satisfactory solution. Can anybody tell the command to open more than 1instances in only one window?

6

2 Answers

PowerShell on Windows comes with two primary UIs: The normal PowerShell CLI interface, and the PowerShell ISE (Integrated Scripting Environment).

Like most normal cli interfaces, the regular PS window is a simple, single-window UI that allows for full but unfeatured use of PowerShell.

The ISE adds several features including a command reference view, a script pane separate from the CLI pane, and a two-level tabbed interface.

The basic tabs are only for the script panes, allowing you to work in multiple scripts and a single PS instance. You open these by clicking File > New CTRL + N (or Open CTRL + O) to create a blank new script or an existing script in a new script pane.

The secondary tabs open new PS instances. You open these by clicking File > New PowerShell Tab CTRL + T (or Remote PowerShell Tab CTRL + SHIFT + R).

Each PowerShell Tab can have multiple script tabs open with it. The script tabs are not shared between the PowerShell tabs.

However, there is some evidence that Microsoft has stopped actively developing the ISE. They still issue bug fixes, and most of the core function is pretty simple and relies on features already baked in to PowerShell, but you're unlikely to see new abilities or features added to the ISE. Instead, most ISE/IDE development effort is being routed to the open-source and very capable Visual Studio Code application, which is free, frequently updated, and, like I mentioned earlier, very capable. With the official PowerShell plugin VS Code becomes an excellent replacement for PowerShell ISE and is what I use myself. Some of the new-user features of ISE, such as the Command pane, are more visible front-and-center, but if you use Atom or are already familiar with other IDEs and want some of that more full-featured function in your PS environment, the VS Code application is well worth looking at.

An improved answer would be the Windows Terminal application that you can get via the Microsoft store and is created by MS

Here is the product definition:

Here is the link to where you can get it:

It also works for other terminals such as your WSL or CMD

Enjoy!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy