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

15

u/uptimefordays Mar 30 '22

Right but isn't that what PSSessions or Invoke-Command are for?

11

u/timsstuff Mar 30 '22

Try being a consultant or working for an MSP and see how that goes lol. I mostly RDP/TeamViewer/whatever into all kinds of wacky servers and have to run scripts on all sorts of configs, and PS Remoting is not enabled by default especially on older servers, not that there would be any way to remote into it anyway since it's probably the only server at the client.

I usually write the script on my workstation in VS Code but sometimes I just need to tweak a setting and ISE on the remote server comes in handy for that. Not a deal breaker though, worst case I can just use Notepad.

1

u/uptimefordays Mar 30 '22

TeamViewer is not something I want to see or let vendors use. I just don’t like the way they handled that hack a couple years ago. If you’re going to let admins RDS around, I don’t see the harm in PowerShell remoting.

6

u/timsstuff Mar 30 '22

There are certainly much better options but unfortunately whenever I have to remote in and don't have my own RDP/VPN credentials, 99% of the time I get a TeamViewer id/pass. Plus I have a corporate license so anyone can just fire up the free QuickSupport one and I'm in quickly. Everything else requires licensing and setup, I don't always have that luxury.

And trying to use WebEx/Teams/Zoom or any other "meeting" app that happens to allow remote control is an exercise in frustration. To the point that I will refuse to do any significant work through a meeting app. My sanity is already frayed as it is.

1

u/uptimefordays Mar 30 '22

Yeah I get it, doesn’t make me like it anymore though. I imagine in some spaces that’s pretty standard practice though.

0

u/[deleted] Mar 30 '22

[deleted]

-4

u/uptimefordays Mar 30 '22

There are ways around double hop, but I prefer one to many connections via my dev laptop or Jenkins.

4

u/PinchesTheCrab Mar 30 '22

I have non-domain computers that time out when I request a new computer certificate for PKI communication with SCCM. I run a script that submits the request up to 20 times, and it tends to work somewhere between the first and tenth try. WinRM is not an option on these non-domain computers, or any other computer that is having networking or domain issues.

People do complicated work on servers on air gapped servers all the time, there's no reason to remove a critical tool.

I think what's missing here is that MS will likely replace ISE on new OS versions. Windows update isn't going to remove ISE on everyone's 2012R2 boxes. I think ISE is an important and necessary tool, but I'm also not worried about the current direction things are going.

5

u/uptimefordays Mar 30 '22

Air gapped systems are always fun! I don't think Microsoft will take ISE from old versions, they're just not continuing development and it may be removed in a future version--this is why I don't like depending on deprecated features/software/tooling.

For non-domain but networked machines, SSH might be an option and you could use RSA keys for authentication.

2

u/Difficult-Ad7476 Mar 30 '22

Just release the the code on github and msi. We will do as we please.

-3

u/RupeThereItIs Mar 30 '22

HA!

Powershell remoting is...

Just don't, trust me.

6

u/uptimefordays Mar 30 '22

PowerShell remoting is like 99% of my job lol.

-4

u/[deleted] Mar 30 '22

That’s exactly what it’s there for. If you’re writing a script on your server, you’re not operating very efficiently.

3

u/uptimefordays Mar 30 '22

Some people are super into writing big, monolithic scripts directly on servers. Once upon a time, I tried to stop such people, now days I'm happy for job security.

2

u/Trakeen Mar 30 '22

Really glad I moved to a job where I don't need to deal with servers anymore and we just use serverless infrastructure or SaaS services. Some powershell stuff doesn't completely work in Azure functions and so I use .net, which I think of as good job security since .net is less specialized then PS

3

u/uptimefordays Mar 30 '22

Yeah I’m thinking “it might be worth learning .net this year” lol.

0

u/[deleted] Mar 31 '22

[deleted]

1

u/[deleted] Mar 31 '22

Or, you know, you can use PSSessions or Invoke-Command as the guy above suggested. Like I said, some people don’t know how to operate very efficiently.

1

u/gangculture Mar 30 '22

I can’t always get where I need to go over my VDI session (VDI wasn’t hugely used pre-covid either)

1

u/uptimefordays Mar 30 '22

I’m a sucker for admin VLANs with aggressive monitoring. Both defense in depth and zero trust offer plenty of good options for secure automation.