r/PowerShell • • Mar 30 '22

Why Microsoft, Why?

Just got off a support call with a MS Engineer. He shared with me that Microsoft is looking to get rid of PowerShell ISE in the next three to five years.

I swear they get together for beer on Friday and say "Hey, you want to know what will really piss people off?", then do it after a good hearty laugh.

221 Upvotes

401 comments sorted by

View all comments

591

u/DNRDIT Mar 30 '22

VSCode is the way

38

u/tangokilothefirst Mar 30 '22

it even has an ISE Mode that makes it look and feel and behave more like ISE, for those who really like ISE.

9

u/[deleted] Mar 30 '22

More like ISE is key. There is still so many missing features or differences that I refuse to move over yet

7

u/lilbobbytbls Mar 30 '22

What is it that you would miss so much? Genuinely curious. I learned Powershell via vscode primarily and built some pretty complex things with it and never cared much about ISE so I'm interested.

6

u/shadofx Mar 30 '22

Open up ISE and try

$tab = $psise.PowerShellTabs.Add()
$tab.DisplayName = "New Tab"
while(!$tab.CanInvoke){Start-Sleep -Milliseconds 100}
$tab.Invoke("Write-Host Running Inside Tab")

Then imagine you're a sysadmin managing a dozen different computers, aka. the original intended audience for Powershell. Having 5 tabs running Enter-PSSession is a lot more legible than juggling 5 instances of PSSession from a single screen.

15

u/fathed Mar 30 '22

Why not just use terminals and tabs?

I am a sysadmin using pssession, and I don’t use the ISE or vscode for that.

You can even split them and display them all at once if you don’t want tabs.

2

u/shadofx Mar 30 '22

In VSCode you would need to press some buttons manually and Enter-PSSession on each split terminal. In ISE the very process itself of setting up new tabs can be automated away using powershell.

9

u/fathed Mar 30 '22

I meant the Windows Terminal program, which you can control with the wt command. From there you can have profiles per server and startup commands in the profiles.

4

u/shadofx Mar 31 '22

Oh that's pretty nifty. Still, it would be nice to be able to open files for each tab. And unfortunately my work system blocks windows store lol.

→ More replies (1)

2

u/Fallingdamage Mar 30 '22

Its called Windows Terminal. Tabbed PS windows ftw!

→ More replies (8)