Running scripts and commands

Top  Download  Previous  Next

With the console, you can run commands and scripts remotely. You can prepare scripts yourself or use the script library (see Script library).

Example commands

Command

Result

systeminfo

General system information, including whether virtualization works

ipconfig /all

Network interface configuration, including the DNS server address

netsh wlan show all

Wireless network configuration, including currently visible wireless networks

netstat -abfo

List of ports on which individual processes listen or connect

tracert <nVision_IP>

The route by which the Agent connects to the Axence nVision® server

query user

List of sessions of users logged in on the computer

tasklist /v

List of processes and the sessions in which they run, with permissions

taskkill /pid <PID>

Ending the selected process

tasklist /svc

List of services running on the computer

sc qc <SERVICE>

Detailed information about the selected service

chkdsk c: /f /r /b

Checking and repairing data on drive C:

dir c:\users\<USER>\downloads /a /s

List of files downloaded to the folder of the selected user

Running on one device

You can:

•Enter commands and scripts manually in the console window – to show syntax hints, start typing a command and press Tab

•Paste them in the console window (with Ctrl+V or the Paste command from the context menu) and confirm with [ Paste ]

To run a command or script, press Enter.

Running on many devices

To run a script or command on several devices at once:

1.In the console with the tabs of many devices, click on [ Run on all ].

2.In the window that opens, enter or paste the content of the script or command.

3.Click on [ Run script ].

Console session

The PowerShell console keeps the session continuous, so you can create variables in it. To end the session, close the console window. To stop only the running command and keep the session, press Ctrl+C.