Automating the addition of Virtual Desktop Infrastructure (VDI) machines to the ControlUp console upon agent installation can streamline management and monitoring processes. While ControlUp for Desktops offers a command-line installation method that automatically registers machines, a similar approach for VDIs requires specific configuration.
To achieve automated registration of VDIs, you can utilize the Install-CUAgent PowerShell cmdlet, which is part of the ControlUp Automation module. This cmdlet allows for the download and installation of the ControlUp Agent on local machines, including VDIs. By providing the necessary authentication key during installation, the agent registers the machine with your ControlUp environment. For non-domain-joined machines, an API authentication token is required. ([support.controlup.com](https://support.controlup.com/docs/install-cuagent-install-an-agent?utm_source=openai))
For non-persistent VDIs, such as those created from a master image, it’s essential to configure the agent to handle these scenarios appropriately. By setting the agent as a master image, it ensures that new VDIs created from this image will automatically register with the ControlUp console, preventing duplicate entries and maintaining an accurate device inventory. ([support.controlup.com](https://support.controlup.com/v1/docs/agent-outbound-communication?utm_source=openai))
Additionally, enabling folder synchronization with your VDI infrastructure can further streamline management. This feature ensures that VDIs are correctly registered and prevents stale machines from cluttering the interface. By integrating with your VDI environment, ControlUp can automatically detect and manage VDIs, enhancing the efficiency of your monitoring and management processes. ([support.controlup.com](https://support.controlup.com/docs/connecting-to-your-vdi-infrastructure?utm_source=openai))
By implementing these methods, you can automate the addition of VDIs to the ControlUp console, ensuring accurate device registration and efficient management of your virtual desktop environment.
Read the entire ‘Automating VDI Registration in ControlUp Console’ thread below:
Hello, this may have been addressed already so apologies but I haven’t been able to find decent documentation on it. I want to automate the addition of VDIs into ControlUp console with the installation of the Agent. This is possible in the ControlUp for Desktops solution. You add a key into the install command and it automatically gets added to the fleet when the Agent is installed. Is there something similar for VDI? I know there’s an AD sync PS script but that just grabs everything including VDIs that don’t have ControlUp Agent installed leading to stale entries when looking at DEX. Thanks in adnvance!
Hi Pedro,
Please refer to this article:
https://support.controlup.com/docs/connect-to-your-machines-locally#command-line-installation-with-msiexec
This worked thanks!
Continue reading and comment on the thread ‘Automating VDI Registration in ControlUp Console’. Not a member? Join Here!
Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
