execute_powershell
Execute PowerShell scripts on target agents to automate penetration testing and Active Directory reconnaissance, encoding scripts as UTF-16LE commands for reliable execution.
Instructions
Execute a PowerShell script on the target agent. The script is sent raw and encoded to UTF-16LE for -EncodedCommand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| agent_id | Yes |