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.

1

u/cottonycloud Mar 30 '22

VSCode has multiple tabs now for terminals, although I prefer Windows Terminal for this use case.

2

u/shadofx Mar 30 '22

Yeah, but I'm interested in the programmatic spawning of Tabs. I don't want to have to Ctrl-Shift-5 and Enter-PSSession on every single terminal. I want to run a single script and immediately be ready to get to work.

1

u/cottonycloud Mar 30 '22

Ah, guess I never needed to use PS like that. I always opted for non-interactive scripts to handle multiple different computers.

2

u/shadofx Mar 30 '22

I guess it's not an issue of "need", just of flexibility, speed, and convenience. And somewhat more confidence that I won't get things confused accidentally, if the tabs come pre-labeled.

1

u/jimmystead Mar 31 '22

I mean to be honest this is a pretty narrow use case. Most people are interacting with one server or many servers. Even if it was 5 running a keyboard shortcut 5 times doesn't sound that bad. We have thousands of servers where I'm at I can't think of a situation where a tab per server would be convenient. It is a cool trick though but a strange hold up to switch.

→ More replies (0)