This script is designed to measure the time it takes for a VM to start and accept the first user connection when the containing host pool is set to "Start VM on connect". It can be used with an Azure resource ID and tenant ID, and requires credentials to be configured beforehand. The script works with Azure AVD and is hypervisor independent, but it is unknown if it works with an on-prem hypervisor like VMWare or with Azure HCI.
Read the entire article here...
ControlUp Scripts & Triggers Training & Support Archives
ControlUp Script and Trigger training and support-related archives from inside the ControlUp Community on Slack.
Why isn’t the Citrix VM maintenance mode trigger activating when local storage falls below a certain capacity?
A user had set up a trigger to put a virtual machine into Citrix Maintenance Mode when local storage D:\ was below X GB, but it was not working. Another user shared screenshots of their own working trigger configuration and suggested the user upgrade to the latest ControlUp version. They also proposed trying a script that drains and reboots the server instead of putting it into Maintenance Mode. The latest ControlUp version was already being used.
Read the entire article here...
Read the entire article here...
How can I create a group-specific offline device alert in ControlUp Edge DX without using static IPs?
A user asked for help creating an alert in ControlUp Edge DX to detect when a device from a particular group goes offline. It was suggested that the Last Communication property is used to calculate "offline", and a static value could be used in the current alert system. The REST API can be used to get machines that have been offline for a certain amount of time. It was also suggested to look at the bell icon when creating an alert as a list of values with descriptions should be available.
Read the entire article here...
Read the entire article here...
How to script diskpart for partition management in ControlUp without timeouts?
probably an easy one but i'm trying to make a script to run some diskpart commands but not having much luck (keeps timing out). specifically i added dis...
Read the entire article here...
Read the entire article here...
How to send an email via SMTP in ControlUp?
A user asked about sending an email via a SMTP server - two options were provided: go to "Settings > Monitors" and select "Monitor Settings", or use the "Send an email alert using local SMTP" action when running a trigger. Additionally, the user was advised to try sending a test message to verify the set-up worked, and was offered a screenshot from @member if needed.
Read the entire article here...
Read the entire article here...
Debugging a For Loop in VS Code
The user was running a for loop 6 times when it should only be running it 3 times. They tried debugging it in ISE before switching to VS Code. They figured out how to switch them and resolved the issue.
Read the entire article here...
Read the entire article here...
Download ControlUp ‘Trigger Packs’
How to Remotely Uninstall Agents in Citrix Environment After 8.8 Upgrade?”
A user asked about updating ControlUp agents in a Citrix environment. The user had previously installed manually but encountered an error when updating to 8.8. An uninstall script (https://support.controlup.com/docs/i-can-t-remove-the-controlup-agent-msi-installed-@member) and use of Tanium was suggested to remotely uninstall the agent. Additional topics discussed were ControlUp Sync Scripts for persistent desktops, and RemoteDX and EdgeDX for endpoint devices. Titles: Remote Uninstall of ControlUp Agent 8.8 in Citrix Environment; Remote Uninstall of ControlUp Agent 8.8 in Citrix with Tanium.
Read the entire article here...
Read the entire article here...
How to fix this false positive in ControlUp?
User asked for help with false positive - 400s for Windows Shell, caused by loopback processing mode and RSoP logging not being configured. They used the script from ControlUp's github repository which worked with parameters provided, however executing it from the console gave a false output. @Member determined it was a bug, which the user eventually figured out. Title: Fixing False Positive for Windows Shell - ControlUp Script Library
Read the entire article here...
Read the entire article here...
Seeking Method to Identify Applied Settings and Corresponding PowerShell Profile?
The user asked about PowerShell profiles and how to see the settings that are applying, and if OneDrive could be causing confusion. It was suggested to check the $profile, $profile.currentuserallhost and allusersallhosts commands, as well as the provided links from Microsoft, and the host (Powershell-ISE, Visual studio code, powershell.exe, etc) might also be introducing settings. The issue was eventually solved due to an extra tick.
Read the entire article here...
Read the entire article here...