A user asked if they can use Controlup to call and run an executable or script on a Mac. The product manager said they will open a support ticket and share their ideas with the Product Manager for Edge DX. The team suggested a workaround of using Bash as the script language but starting Script with #!/usr/bin/env swift.
Read the entire article here...
PowerShell Related Training & Support Archives
PowerShell training and support-related archives from inside the ControlUp Community on Slack.
Error “Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel” in ControlUp Scoutbees
The user was trying to add scouts using the API but encountered an error message. Dennis suggested adding the TLS setting `$AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols` which resolved the issue.
Read the entire article here...
Read the entire article here...
New script that with CVAD + Teams troubleshooting help
A user suggested creating a new script to resolve issues with Teams by clearing the cache, running a bat file to kill Teams processes, delete the cache folder, and restart Teams in the public desktop for easy user access. An EdgeDX script already exist that does this. ControlUp does not have user initiated scripts, but the bat file can be dropped on their desktop. The EdgeDX script can be found below.
Read the entire article here...
Read the entire article here...
ControlUp Script Batch Release – June 25, 2023
ControlUp's new script batch features four categories, with the focus of this blog post on scripting using new CUActions APIs. This includes 'List Available CUActions', 'Power On Generic VM', 'Force Power Off Generic VM', and 'Logoff Disconnected Sessions'. The post details how to write and use these scripts, including techniques for loading the appropriate DLL, identifying and invoking the correct CUAction, and querying the monitor table. The 'Logoff Disconnected Sessions' script, for instance, fetches data in chunks and logs off all disconnected sessions for a selected user.
Read the entire article here...
Read the entire article here...
Troubleshooting ControlUp Script Show Horizon View Usage
A user asked about the ControlUp script https://www.controlup.com/script-library-posts/show-horizon-view-usage/. An error occurred due to a missing module ("VMware.VimAutomation.HorizonView") which can be resolved by installing it with a 'Install-Module' command using the '-Scope AllUsers' parameter. The need for the scope was explained, and additional tips were provided regarding Automated Actions and where the script should run. An update to the script will be available in the July release.
Read the entire article here...
Read the entire article here...
Best Practices for Upgrading ControlUp on a New VM
Users discussed best practices for upgrading ControlUp by moving it to a new VM; this includes backing up the Console machine's appdata folder and republishing the configuration, as well as reusing the existing database. It was suggested that the platform's consoles and monitors should logon to the new name and IP, while the agent auth key should be migrated using PowerShell commands. Uninstalling the monitors and data collectors was suggested because of the name change.
Read the entire article here...
Read the entire article here...
Automating a Reboot with Two Triggers in ControlUp
A user was looking for a way to reboot a server after an Event Viewer error had triggered maintenance mode and logged out all users. It was suggested to use two triggers - the first would put the server into maintenance mode and set a registry key, and the second would check the registry key and if it was present, reboot the server. The use of a PowerShell script was offered to create the registry key in the first trigger. To ensure that only servers with the 1005 error code were rebooted, the registry key would need to be checked.
Read the entire article here...
Read the entire article here...
How to automate “Force Reset VM” in the real-time console for a ControlUp Trigger?
A user asked if there is a way to automate a 'Force Reset VM' using the real-time console for a trigger. The ControlUp 8.8 Powershell module includes the option to use Solve Actions for this need. A sample script will be available at the end of the month.
Read the entire article here...
Read the entire article here...
What command is executed when you right click on a proces and “kill process”?
When right-clicking on a process and selecting "kill process" using the RT Console, the user asked what command is being executed. They needed to create an automated action to kill winlogon.exe, which is preventing sessions from logging out. It was suggested that they use the Powershell Cmdlets for SOLVE Actions, as found in the ControlUp documentation. Alternatively, a stop-process force or taskkill can be used as part of a logoff trigger.
Read the entire article here...
Read the entire article here...
Anyone used the ControlUp Powershell module to automate adding new servers to ControlUp?
Has anyone used the ControlUp powershell module to automate adding new servers to ControlUp?
Read the entire article here...
Read the entire article here...

