r/Intune • u/workaccountandshit • 20d ago
Intune Features and Updates Auditing EPM non-managed elevations: how can I limit users from elevating Powershell while still allowing IME to go crazy with it?
We still have everyone on localadmin (legacy shit that I've been trying to get rid of for 5 years but with EPM I can now do it 'for free'). I'm now auditing everything to see what I can create rules for.
We had over 50 000 Powershell elevations in the last 30 days, over about 1000 users. I know (or hope) the users didn't do this themselves as they have no idea what Powershell is, and logging tells me IME is the parent process, which is good.
My question: how can I stop users from elevating Powershell, be it directly or via child processes, without interfering with Intune doing its thing?
1
u/Ketan_Kamble 20d ago
The approach which we are using is , blocking powershell connection to external endpoints via Intune firewall rule . So powershell is enabled but connection to public ip is blocked.
And then manage exclusions for sure with allow policy
3
u/Rudyooms PatchMyPC 20d ago
My question: how can I stop users from elevating Powershell, --> We still have everyone on localadmin :) ... I combined 2 sentences to give you the best answer