Staff workspace · Customer portal

Script library

Save a private script

Open Scripts and choose New script. Give it a name, select a language, and paste the source. Private scripts are available to signed-in staff in this workspace. You can open, edit, search, and download them.

Publish a script

Open a script and choose Publish publicly to share it with anyone who has the link. Remove credentials or customer information before publishing. Public scripts are listed on this workspace’s Public scripts page. Choose Make private to remove a public listing and public download.

Set script variables

Use {{NAME}} for a required value or {{NAME|default}} for a prefilled value. Users can preview and download a tailored copy. Values are inserted as written, so put each placeholder in the correct context for PowerShell or CMD.

Run on an enrolled Windows device

Update the Windows agent on the intended device. In the local PowerShell session, set $env:MSP_DESK_ALLOW_SCRIPT_RUNS = "1" and launch the updated agent. In OpsGeneral, open the device’s Script runs tab, choose a PowerShell or CMD script, fill in its variables, and queue it for that device.

Read run results

Refresh Script runs to see status and expand View output for the exit code, standard output, and standard error. The agent starts one script at a time and limits each run to 60 seconds and approximately 24 KB per output stream.

Contact

Use the contact details in your MSP’s invitation or service agreement.