A user is having trouble executing a PowerShell script in ControlUp on a VDI with an agent installed. They receive an error message and are unable to run the script from the console. Other users suggest checking permissions and removing unnecessary lines from the script. It is also suggested to import the ps1 file instead of copying and pasting. The option to target machines in the console is discussed.
Read the entire article here...
PowerShell Related Training & Support Archives
PowerShell training and support-related archives from inside the ControlUp Community on Slack.
Managing Duplicate Device Entries in ControlUp
ControlUp users discuss options for cleaning up duplicate device entries, which occur frequently during customer device migrations. Suggestions include adjusting cleanup rules, using a PowerShell script to automate deletion of duplicates, and deploying the agent with the property REGISTERWITHNAME=1. A helpful user has shared their script to automate the cleanup process.
Read the entire article here...
Read the entire article here...
Changes to ControlUp data collection: Agent vs. PowerShell scripts
The discussion revolved around ControlUp's Agent collecting data instead of using PowerShell scripts. This new approach is currently being tested with design partners and a few other companies. It was suggested to test it with a select group first to ensure there are no issues. It was also mentioned that multiple rules can be set up with specific device tags.
Read the entire article here...
Read the entire article here...
Troubleshooting Drive Exclusions in ControlUp
A user was troubleshooting their trigger settings for excluding a drive. Different variations of entering the drive name were tried with no success. Another user suggested using a powershell script for testing.
Read the entire article here...
Read the entire article here...
Retrieving Historical Incident Data from ControlUp with PowerShell Cmdlets
A user asked about retrieving historical incident data from ControlUp using PowerShell cmdlets and the community offered insights. The user found that the incidents pane data is not available through an API but will be replaced by the events pane in dex. An API for the events data may be available in the future.
Read the entire article here...
Read the entire article here...
Collaboration and Suggestions for ControlUp Workflow Scripts
Some users expressed appreciation for recent changes to ControlUp Workflows, and asked where to find a script for Grant Temporary Device Admin Access. @member stated they have the script, and @member offered to review it. They also mentioned an issue with removing a scheduled task, and suggested using a scheduled task in the Workflow instead. The script is given at the end of the input.
Read the entire article here...
Read the entire article here...
Understanding ControlUp Monitor Database and Query Options
There were questions about where the ControlUp monitor database is stored and what tables are available. It was suggested that the database is stored in RAM and data is only exported to the cloud backend for long enough. There were suggestions to use the powershell invoke-cuquery or api to query the database. It was also mentioned that the export-cuquery may have less impact on the monitor and export more data at a time.
Read the entire article here...
Read the entire article here...
Troubleshooting Permissions for Running Scripts on ControlUp Monitors
Some users suggested using ssh as a workaround for issues with permissions for running scripts on monitors or for more centralized management. Although it may require a "double hop" process, it can be effective. Python was also mentioned as a possible tool for opening an ssh session that opens Powershell. The advantage of ssh is that it allows for redirecting error and std_out streams. In theory, a similar approach using psexec could work but has not been successful for some users.
Read the entire article here...
Read the entire article here...
Managing Multiple Sites in ControlUp
A user asked about adding multiple sites to one scout in ControlUp. Another user suggested using a Custom Script Scout to consolidate multiple checks into one. However, this may result in a loss of some per-site features and alerting. Currently, ControlUp does not allow for multiple endpoints per scout. The team is looking into potentially incorporating this feature at a later time.
Read the entire article here...
Read the entire article here...
Troubleshooting Blank Lines in ControlUp Auto Action Output File
A user is experiencing extra blank lines in the Auto Action output log file when running with the .NET engine. They are seeking advice on how to suppress or clean up these lines automatically. Other users suggest checking for newlines in the messages and the use of string.join which could potentially add additional newlines. The post ends with a question about best practices surrounding newlines in messages.
Read the entire article here...
Read the entire article here...
