Block PowerShell With GPO
Create a new gpo named “Disable_Powershell” –> right click –> Edit –> and go to the next path: User Configuration → Policies → Windows Settings → Security Settings...