A user was trying to set up a trigger that would delete profiles older than one day if disk space drops below 10%, but the trigger wouldn't run. It turned out that it needed to be set up to delete at an exact threshold (e.g., 10%), and not a range (e.g., 9% to 11%). The user enabled an email alert to confirm the CU was picking up the trigger, and adjusted the settings so it would run below their personal threshold.
Read the entire article here...
Scripts Related Training & Support Archives
Scripts training and support-related archives from inside the ControlUp Community on Slack.
Troubleshooting Error “File… is not digitally signed… see about_Exectin_Policies…” in ControlUp
The user was running an Analyze Logon Duration script against two different VDI environments but was receiving an error message relating to the execution policy not being set correctly with the W2K12 PVS. Modifying the GPO was explored but it was ultimately discovered that the script was incorrectly signed because of a space being added at the end of the file. Suggestions were made to double-check scripts if modified by colleagues. ControlUp SBAs and an update to W2K19 were also mentioned.
Read the entire article here...
Read the entire article here...
How to Kick off Windows Systemreset Command from ControlUp Edge DX?
A user wondered if there was a way to kick off the Windows "systemreset -factoryreset" command with a script from Edge, as an alternative to the user going into recovery mode, but it seems that a prompt is required which will be unanswered if the user is not logged on. The user would not like to automate this process and the solution may not be worth the effort required to make it 100% safe.
Read the entire article here...
Read the entire article here...
Numerical Sorting in Custom Reports with ControlUp
A user asked about numerical sorting in custom reports with ControlUp. It was suggested that the data must first be interpreted when creating an index, meaning numbers must be read as numbers. If uploading decimals, multiplying them by 1000 can be a workaround. URLs mentioned were not included.
Read the entire article here...
Read the entire article here...
How to Run Scripts Periodically in ControlUp Edge DX
A user asked if it was possible to run a script periodically on a subset of clients in Edge DX. Suggested methods included using device tags and environment variables, or using Get-Random. Filtering by Edge DX device group is possible with the SIPDEVICEGROUP environment variable. More information can be found in the ControlUp documentation at https://support.controlup.com/docs/edge-dx-scripting-guide#example-for-powershell.
Read the entire article here...
Read the entire article here...
How to Gracefully Cycle ControlUp Monitor Services with PowerShell
A user asked if there was a graceful way to cycle monitor services with PowerShell. It was suggested to use a combination of stop and start the service with a 30 second delay to allow for memory to clear up, instead of a regular service restart.
Read the entire article here...
Read the entire article here...
How to Add a Script to the ControlUp Community Script Library?
A user asked how to add a script to the ControlUp Community Script Library. They were directed to a blog post which outlines the process for sharing, and the user mentioned they had two scripts that they created to provide a report of user profiles reset by Citrix Director and to clear the storage space from reseted profiles. This is suggested to be added to @member's list of community triggers. The Academy can be found at https://cuacademy.controlup.com/
Read the entire article here...
Read the entire article here...
Error “This app can’t run on your PC” trying to use Remote Assistance on the ControlUp Console
When attempting to use Remote Assistance from the console, a file with no association appears. It is not possible to use the console on Server machines. Enabling the desktop experience feature may help. There is also a scripted action called "Shadow session" to enable it properly, however group policy values and administrator access to the target machine may be required. More information can be found at https://www.controlup.com/script-library-posts/shadow-session/.
Read the entire article here...
Read the entire article here...
How to Execute Scripts in ControlUp
The user asked about executing scripts in ControlUp - this can be done with an MFA authenticated token or API Key. Dennis has the Powershell to do this, and Wouter advised combining specific scripts and tags examples to do this. Developer mode was suggested as a helpful trick to learn.
Read the entire article here...
Read the entire article here...
Is there a 5000 row limit to data returned via ControlUp API?
A user asked about the row limit of data returned via the API - they needed to use Export to CSV for 65k max. To retrieve this data, the user should add to the end of the URL, 'export=true'. Thanks to Wouter, the user now knows how to gain this data.
Read the entire article here...
Read the entire article here...