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

4

u/AlexHimself Mar 30 '22

They're useful tools to write the scripts. Debugging.

Why don't people build websites using notepad.exe?

0

u/[deleted] Mar 30 '22

[deleted]

3

u/imaginary_moose Mar 30 '22

And to add to this, if you have been leveraging Server Core at all in the last 15 years, you don’t have ISE there anyway.

0

u/Kershek Mar 31 '22

Sure, only if the application you install supports it. Most of my Windows servers aren't Core because of that.

1

u/AlexHimself Mar 30 '22

Your comments are the ones that are confusing me. PowerShell ISE comes standard with various flavors of Windows Server.

I have to RDP to a myriad of servers and I can always open ISE and copy/paste large scripts that I can tweak as needed or write them from scratch on the fly.

Writing in powershell.exe/pwsh.exe is a nightmare for larger things. You're essentially committing every line as you type...when developing is more akin to composing a document with various revisions before you actually execute along w/intellisense. Debugging is far more convenient in any IDE. It's that simple.

If they remove PowerShell ISE, I (and others) will need some sort of substitute. I can't just install VSCode whenever it's needed as there are various IT controls and hoops to jump through to install new applications at many enterprise-level corps. It becomes prohibitively difficult.

People do build basic websites using notepad. But this is an absurd comparison

I can compose a script in Notepad the same as somebody can develop a website in Notepad, but both are more difficult without an IDE. It is an accurate comparison.

I'm confused why you don't agree with me and you haven't made a counterpoint? It makes me think you're not aware of how other people use PowerShell perhaps?

0

u/[deleted] Mar 30 '22

[deleted]

2

u/AlexHimself Mar 30 '22

I don't really consider the scripts as "code" in the traditional sense as much as a utility to help me maintain other servers containing critical business code (C# type stuff).

For an ERP, sometimes an SSRS report becomes corrupt, so I need to write a PS script to re-deploy all reports older than X days using proprietary Microsoft cmdlets.

Or some backup clean-up process has failed and filled a hard disk with old backups. I need to write a script to clean various directories and keep only X backups.

Or when investigating some issue, I need to write scripts to query and compile data. Some server in production had a DNS issue, so I wrote a script to query all AD servers and pull their IP/DNS info.

Tons and tons of ad-hoc uses...especially when customers don't do things properly and you're at the mercy of their old servers. They don't have budgets to make everything perfect...such as backup monitoring. Or they do network changes that cause servers to lose contact with AD and their tokens become invalid and you need to scramble to restart 15 servers in a very specific sequence.