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

0

u/[deleted] Mar 30 '22

[deleted]

26

u/amplex1337 Mar 30 '22

It's not development, I am fixing scripts and debugging problems in different environments and need it. Stop handwaving a very valid complaint for sysadmins

2

u/v0tary Mar 31 '22

I agree with the handwaving comment, but you did just describe development lol.

17

u/AlexHimself Mar 30 '22

You really shouldn't throw platitude out like that when it's so underthought.

I consult for TONS of enterprise-level companies and I'm on random servers all of the time and I need a PS console to sometimes develop a script, either in Prod or Non-Prod.

I can talk until I'm blue in the face about what the customer SHOULD be doing but the reality is their corporate management makes the decisions.

So it's easy to say "you shouldn't do that" and then just walk away, but that doesn't change the facts of many situations.

5

u/OPconfused Mar 31 '22

This thread has reminded me of how split the PS userbase is. It seems a lot of people have jobs where they have full control over every machine they run powershell in and are all in the same network. Of course theyd be oblivious to what its like when youre working otherwise, especially as consultants like we are on systems we have no control over, managed by people (in my case) who still open cmd over PS. The standardized built-in features of Windows are for me as a consultant the main advantage of working with Windows over Linux systems.

I guess its a testimony to how versatile PS is that it can bring together such a varied audience. I just hope MS has all users in mind and aims to eventually make these features including core, a complete ISE, functioning TLS settings, and PSGet, native to a windows installation one day.

1

u/v0tary Mar 31 '22

Y'all acting like remote PowerShell doesn't exist. Check it out. No need to sit on any server console.

→ More replies (2)

0

u/[deleted] Mar 30 '22

[deleted]

0

u/[deleted] Mar 30 '22

[deleted]

→ More replies (1)
→ More replies (1)

27

u/RupeThereItIs Mar 30 '22

Powershell is a shell, remember.

Writing scripts on a server isn't unheard of.

5

u/AmericanGeezus Mar 30 '22

Can confirm without shame

Have done

While ($true){}

Loops to adhoc monitor a server during troubleshooting, deployments, etc.

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.

→ More replies (1)

0

u/[deleted] Mar 30 '22

[deleted]

→ More replies (1)

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.

→ More replies (11)

4

u/malice8691 Mar 30 '22

Yep. I have definately written scripts on our test server. I just manually installed vs code

2

u/atem_nt Mar 30 '22

Especially useful when you don’t have local admin rights on your machine, which you need to debug in vscode

8

u/kohijones Mar 30 '22

It's on all my T0/T1/T2 jump boxes by default. The only way for support to do their work. Infosec would never approve installing vscode with its extension model (and I don't blame them).

11

u/BlackV Mar 30 '22

The feck you shouldn't. Not all things work through remotely, sometimes getting a deserialized object is counter productive, especially when testing or designing

7

u/computerbob Mar 30 '22

In some environments (like mine), there is no direct access from any workstation to any server. PS Remoting is disabled for security reasons and the ONLY way to manage our servers is INSIDE the server environment.

Not everyone has everything wide open to allow everything.

I haven't been able to run a script on my desktop in about 4 years.

4

u/ExceptionEX Mar 30 '22

Did he say production? Dial back the silly gate keeping.

And it's not unheard of for dev boxes to run server OS instead of windows, it's an easy way to skip all the bullshit bloat that comes on the desktop version.

→ More replies (3)