Use the available remote shell commands to investigate Windows endpoints.
Command |
Description |
Syntax |
Example |
Supported on |
---|---|---|---|---|
cat |
Output the content of the selected file (max size 1MB) |
cat <file_location_and_extension> Note:
For the <file_location_and_extension>, specify the absolute or relative path to the file, the file name, and the file extension. |
|
|
cd |
Change the current working directory |
cd <path> Note:
For the <path>, specify the absolute or relative path. |
cd C:\ |
|
clear |
Clear screen |
clear |
clear |
|
cp |
Copy a file or directory to specific destination |
cp <source_object> <destination_object> [--force] Note:
|
|
|
env |
List environment variables |
env |
env |
|
fileinfo |
List detailed file properties |
fileinfo <file_location_and_extension> Note:
For the <file_location_and_extension>, specify the absolute or relative path to the file, the file name, and the file extension. |
|
|
get |
Collect a specific file and upload to Trend Vision One Maximum file size: 4 GB |
get <file_location_and_extension> Note:
For the <file_location_and_extension>, specify the absolute or relative path to the file, the file name, and the file extension. Warning:
Downloading suspicious samples may potentially harm your endpoint. Ensure that you take the necessary precautions before continuing. Trend Vision One automatically stores the collected samples in a password-protected ZIP archive. |
|
|
group list |
List local group information |
group list |
group list |
|
help |
Display help information |
help |
help |
|
ipconfig |
Display network configuration information |
ipconfig |
ipconfig |
|
kill |
Terminate a running process |
kill <PID> Important:
You cannot use the kill command to terminate Trend Micro processes. |
kill 1234 |
|
listenports |
List listening ports |
listenports |
listenports |
|
ls |
List contents of the directory |
ls [path] Note:
For the <path>, specify the absolute or relative path. |
ls |
|
memdump |
Create a process memory dump available as an encrypted archive from the Trend Vision One console |
memdump [--ma] [--mm] --pid <pid> --ma: Creates a full process memory dump. -mm: Create a mini process memory dump. --pid: Required parameter to specify process ID <pid> Note:
memdump does not support dumping system processes or creating dump files larger than 4GB. Important:
The memdump command is disabled by default. Contact your support provider to enable the command. |
memdump --mm --pid 1234 |
|
mkdir |
Create a new directory |
mkdir <path> Note:
For the <path>, specify the absolute or relative path. |
|
|
mv |
Move a file or directory to specific destination |
mv <source_object> <destination_object> [--force] Note:
|
|
|
netstat |
List network statistics and active connections |
netstat |
netstat |
|
ps |
List running process information |
ps |
ps |
|
pwd |
Display current directory |
pwd |
pwd |
|
reg query |
List registry information |
reg query <key> [--value=<value_name>] |
|
|
rm |
Delete a file or directory (and all sub-directories) |
rm <source_object> [--force] Note:
|
|
|
run |
Execute a previously uploaded script |
run <script_name_and_extension> [arguments] |
run demo.ps1 1 "22 33" 44 |
|
scheduletasks |
List scheduled tasks |
scheduletasks |
scheduletasks |
|
service list |
List service information |
service list |
service list |
|
systeminfo |
List system information |
systeminfo |
systeminfo |
|
user info |
List account properties |
user info <username> |
user info john_doe |
|
user list |
List local user accounts |
user list |
user list |
|
zip |
Compress a file or directory in a zip archive and optionally encrypt the archive with a password |
zip <source_object1> [<source_object2...> <source_objectn>] <destination_object> [--password <password>] [--force] Note:
|
|
|