How to Block Powershell in Endpoint Security (SES).
SES
Under 'Default Custom Application Behaviors Policy', Include the below extension under 'File and Folder Access Attempts' condition and Terminate the attempt.
https://en.wikipedia.org/wiki/PowerShell