PoshTip #44 – Open Multiple Files in PowerShell ISE

You can easily open multiple files in Powershell ISE with the following command:

PS > powershell_ise.exe "C:\script1.ps1,C:\script2.ps1"

So PowerShell will open 2 tabs in ISE:

You can also use the “ISE” Alias:

PS > Get-Alias ise

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           ise -> powershell_ise.exe

PS > ise "C:\script1.ps1,C:\script2.ps1"


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 276 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.