Execute a PowerShell or Bash script on a target endpoint during an investigation.
Remote custom scripts allow Master Administrators and Security Analysts to directly
access target endpoints and run previously uploaded PowerShell and Bash script files.
The following services can run this task:
-
TrendAI Vision One™
-
Linux agent
-
macOS agent
-
Windows agent
-
-
Cloud One - Endpoint & Workload Security
-
Linux agent
-
macOS agent
-
Windows agent
-
ImportantFor PowerShell scripts executed on Windows endpoints:
|
Procedure
- Right-click the endpoint you want to investigate, and select Run Remote Custom Script from the context menu. You can execute only one custom script file per session. The
target endpoint must be online to connect successfully.The Run Remote Custom Script Task screen appears and TrendAI Vision One™ attempts to connect to the endpoint.
- Select a custom script file. To add a new custom script, go to Custom Scripts on the Response Scripts tab and click Add script to upload a new script file.

Note
The maximum file size for this task depends on the agent version installed on the target endpoint:OSAgent versionMaximum file sizeLinuxBefore 20.0.2.29760128 MB20.0.2.29760 and later4 GBWindowsBefore 20.0.2.29760128 MB20.0.2.29760 and later4 GB - Specify the arguments to added to the script during script execution. You can specify a maximum of 8,000 characters.
- Specify a Description for the response or event.
- Click Create.TrendAI Vision One™ creates the task and displays the current task status in Response Management.
- Monitor the task status.
- Go to .
- To locate the task, use the search bar or select Run Remote Custom Script from the Action drop-down list.
- View the task status.
-
In progress (
): TrendAI Vision One™ sent the command
and is waiting for a response. -
Successful (
): The command was successfully
executed. -
Unsuccessful (
): An error or time-out occurred when attempting to send
the command to the managing server, the Security Agent is offline for more than 12
hours, or the command execution timed out.
-
- Click the Task ID to display task details and Download the session history. Use a file archiver to extract and decompress the file contents.
