Some of the words
Powershell cannot be used during Intranet penetration of red team personnel. The tool or script you want to use is not supported by CMD. What should I do then?
Here's a tip to get around powershell.exe disabling and use Powershell properly.
Actual use
Use DLL version of powershell to execute, so as to effectively bypass the disabled EXE, first look at the effect as follows;
By the way:
Before, the environment encountered a scenario where Powershell was disabled. Copy the original powershell. Exe of the system, use tools to modify part of the character strings, and then double click to run, but the disabled policy can still be bypassed and the command can be executed