Skip to main content

ScreenConnect - Update Custom Property RMM+,Param

Summary

This script will set a custom property in CW Control for the matching system in the CW Control portal using the matching GUID.

Image

User properties for the Custom Property Index and the Property Value need to be set before running the script.

Time Saved by Automation: 5 Minutes

Sample Run

Target: Any machine with CW Control installed

Image

Dependencies

CWM - Automate - RMM+ Plugin Configuration

Variables

NameDescription
sccomputerguidThe GUID of the CW Control instance
SCUrlThe URL for the CW Control portal
PortThe port in use for CW Control
SCFormattedURLA formatted URL to work properly with the RMM+ extension in CW Control
SCCommandURLThe URL to end sessions related to the RMM+ Plugin
pluginresultThe output of the results from the command run above.

User Parameters

NameExampleRequiredDescription
PropertyIndex5TrueThis is the custom property in CW Control that you want to set. Properties 1-4 are used by the CWA / CWC plugin. It is suggested to start with Properties 5-8. This video can explain how to set them up in CWC. Watch Video
PropertyValueTrueTrueThis is the value you want to set for the Custom Property

System Properties

NameExampleRequiredDescription
RMMPlus_AccessKeyajw8fh2p93ufn;o31ifu2091j23oifTrueThis is the key set up in the CW Control RMM+ Plugin so Automate can reach out to gain access to the API.
RMMPlus_HeadersOrigin: site.site.comTrueThis is the URL (without http/https) for the CW Control server. This value needs to match the value in the RMM+ Plugin configuration in CW Control.
RMMPlus_StaleAgentThreshold30TrueThe number of days to indicate what a "stale" agent is to the scripts. 30 is the default.
RMMPlus_Timeout1000TrueThe default timeout for commands run via RMM+ through Automate. 1000 is the default.

Output

Script log messages only.