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

Show parent comments

2

u/dextersgenius Mar 31 '22

It may be superior in some ways, but it's also inferior in others (eg: compared to the Intellisense / drop-down autocomplete in ISE, plus memory usage - VSCode can easily chew gigs of RAM, not to mention - Electron sucks).

In fact I wouldn't even compare the two, because it's like comparing Notepad to Word. Sure, Word is a superior product, but I don't want to fire up Word every time I want to edit a simple text file, I definitely do not want to replace Notepad with Word, and I definitely do not want to install Word on all our servers.

1

u/Icolan Apr 01 '22

I definitely do not want to install Word on all our servers.

Why would you be doing code editing on servers?

2

u/dextersgenius Apr 01 '22

These are management servers, used to manage various isolated environments. It's where all our admin tools, scripts etc live. They're not Internet accessible, we can't connect to then directly from our workstations. But they're still servers connected to secure client environments, so we can't just install stuff randomly without going thru change control.

1

u/Icolan Apr 01 '22

Wouldn't an administration VDI solution be better for that?

1

u/dextersgenius Apr 01 '22

Technically speaking, we're already using it. The big issue in our setup is the network/firewall, as all the client environments we connect to are independent and isolated networks (both physically and logically), so the way we get around that is to logon to our admin VDI first (Citrix) which sits in a secure DMZ, and then RDP onto the respective client management boxes from there, which sits in a secondary DMZ, but has WAN links to the respective client networks. No Internet access anywhere in this chain btw, except for the Citrix Access Gateway appliance which is Internet facing and allows connections only from our internal LAN.

Unfortunately we're only allowed to have the RDP port open between our admin VDI and the respective client environment in the DMZ, and trying to open WinRM or any other port would be seen as deviating from the approved design and will need sign-off from multiple parties, the biggest hurdles of which will be our internal security, the external auditing agency (they'll need to conduct an independent risk assessment and a pentest), and finally approval from the client themselves. And frankly speaking, none of us have the motivation to do the paperwork for this and especially to deal with the auditing agency, because every time we deal with them it's been an unpleasant experience where they'd bring up some crap "vulnerability" in their assessment and we'd have to justify why that's not actually a vulnerability or why that attack vector isn't applicable to us (because we aren't Internet connected for instance), and doing this review takes ages.

1

u/Icolan Apr 02 '22

That sounds like it really sucks.

1

u/dextersgenius Apr 02 '22

It's not so bad as long as you aren't doing anything that can cause trouble with the auditors or the clients. This is why we generally follow a "if it ain't broke, don't fix it" mentality. The main downside of that is of course we don't get to play around with the latest toys like Windows Terminal, VSCode or say the latest edition of Windows Server (we're always a couple of versions behind), but we do have the freedom to write and run PowerShell scripts as we see fit.

Once we're inside an environment, we can use PSRemoting to connect to machines in that domain, which we use extensively to fix things or do stuff. On the job, I spend most of my time inside a PowerShell terminal, coding a script or debugging stuff using ISE, and it's pretty satisfying. I'm a CLI person - grew up using DOS - so I try to do as much as I can in PowerShell, and I enjoy it.

And because our gateway is a Citrix VDI, we can jump into our work environment from any device, so I can log in from my Linux PC or MacBook and can do my job just as well. When I'm oncall, and say I'm at a pub or something and get a call, I can even remote in from my phone and basically have full access to all our work stuff.

This sort of sysadmin life isn't for everyone for sure, but personally, I love it.