power_shell_write
Send a PowerShell command to a running shell session. Specify session ID and command; optionally clear or append to buffer.
Instructions
Send a command to a PowerShell shell session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Buffer clear flag: 1 (default) = clear buffer before collecting, 0 = append to buffer | |
| command | Yes | The PowerShell command to send | |
| session_id | Yes | The session ID returned by power_shell_open |