Executing scripts
Learn how to execute scripts directly from the browser or via the API
Last updated
Learn how to execute scripts directly from the browser or via the API
Last updated
You can execute scripts on a per-client basis directly on the clients page. By selecting "scripts" on top navigation, you can execute scripts on many clients in parallel.
Learn, from this video, how to execute PowerShell scripts on Windows machines (servers or desktop) – on a single machine and on multiple targets in parallel.
The video show how to install 7zip and notepad++ fully unattended with RPport using the following lines of PowerShell.
Type in the content of a script. You can use a regular shebang as first line like #!/bin/bash
or #!/usr/bin/env python3
.
If no shebang is given, /bin/sh
is used to execute your script.
Starting with version 0.6.0 you can execute your scripts with an interpreter.
Either enter the full path to the interpreter, or register available interpreters in the client's rport.conf
file.
To register a script interpreter on the rport.conf
file on the client and append a list of available interpreters. After restarting the client, they get available on the user interface.