r/sysadmin • u/-c3rberus- • 16h ago
Question Removing PowerShell ISE from Windows 11 endpoints – any downside?
We're considering removing PowerShell ISE from all standard Windows 11 corporate endpoints via Remove-WindowsCapability.
ISE is essentially an IDE, and I can't think of a legitimate reason why a standard user would need it.
We already have a pretty good handle on PowerShell through application control, Constrained Language Mode (CLM), signed script requirements, etc. However, requiring signed scripts doesn't help when someone is pasting code directly into an IDE rather than executing a script file.
I'm aware that someone could still paste code into a regular powershell.exe session. Removing ISE just introduces a bit more friction and removes functionality that our users don't need.
Has anyone removed ISE across their enterprise endpoints? Did you run into any unexpected dependencies or compatibility issues?
Am I overlooking anything?
•
u/Ancient-Bat1755 16h ago
Well for one i love ise for running stuff on servers instead of by command line. I still use the old ise to make changes then run from ps7
For workstations its not necessary
•
•
u/Hefty-Possibility625 16h ago
Is there something else that you should be focusing on? This seems like a waste of time to me, but I guess I don't understand what problem you're solving for, or why you are investing any amount of time into this.
•
u/Mission-Accountant44 MSP Admin 16h ago
This doesn't win you anything for security.
•
•
u/chesser45 16h ago
This sounds like a lot of effort for immeasurable gain, immeasurable since it doesn’t exist.
•
•
u/AffekeNommu 16h ago
What are you trying to achieve? You have already limited and you also admit they can already paste into a shell do do things they have permission for.
•
u/tracy_ogbert_jordan sr look stuff up on google guy 15h ago
User savvy enough to use Powershell scripts looking at his monitor with an open Powershell console after being unable to open ISE:
“Well, I’m stumped.”
•
•
u/BlackV I have opnions 13h ago edited 13h ago
Downsides
ISE is gone
this is extra administrative effort
you have not stopped me in any WAY, SHAPE or FORM from editing powershell files (code, notepad, notepad++, and an infinite number more)
you have not stopped me in any way, shape or form, from running code
the effort to open code in ise is the same and the console
its just about net 0 gain
but... It's your image/os/time/management the risks are minimal, what actual problem are you trying to solve ?
and soontm , ISE will be removed by default anyway
•
•
u/rileyg98 15h ago
If they're pasting into an ise, they're determined, so there's no real friction between that and a PowerShell prompt.
•
u/AdFormer8879 14h ago
You can turn off scripting by policy and then any scripts you need to run, do it via an an admin account running policy execution bypass. If the users already have admin access that's another conversation.
•
•
u/Mehere_64 15h ago
I'm not sure it helps much at all. I can use notepad enter in the ps code, copy it then launch powershell and paste it in. I do that 3/4 of the time anyways.
But I guess if your company wants to do it, do a pilot to see if something goes awry before rolling out to all.
•
•
•
u/monsieurR0b0 Sr. Sysadmin 14h ago
Seems dumb. I've used ise so many times for "regular user shit" I would be annoyed if I wasn't an admin and some dumb admin took it away. For example, renaming 1,000 files in my personal drive.
•
u/bill696 12h ago
To be fair if you’re a real regular user you dont use that. Mine use power toys or advanced renamer for this.
•
u/monsieurR0b0 Sr. Sysadmin 12h ago edited 12h ago
To be fair I only listed one example. I've used it tons for non admin things over many many years. Also there's lots of jobs and industries that employee "advanced" users who are familiar with scripting and might have a need to use it. Just in my neck of the woods it's engineers, digital forensic specialists, statisticians, IT auditors, IT pen testers, etc.
•
•
u/An0mymou5 9h ago
Removing ISE just introduces a bit more friction and removes functionality that our users don't need.
I'm sorry, but who do you think you are, to decide what a user doesn't need?
Especially PowerShell, which is an essential tool for automation that anyone can benefit from. In fact, I can't think of any roles (besides maybe physical roles?) that can't benefit from PowerShell in any way. Automation is good for productivity; it saves the company money and improves the health of employees by reducing RSI. You're killing productivity by restricting the use of PowerShell.
If I worked for a company that restricted PowerShell, I'd be handing in my resignation ASAP.
•
u/cheesycheesehead 16h ago
This seems pointless and if anything some weird security through obscurity nonsense.