This video demonstrates a script I created that starts and stops Virtual Machines in an Azure Windows Virtual Desktop host pool based on the number of users logged into the host pool. It uses the number of users logged in to the host pool, a threshold value of spare capacity and the maximum session per VM to calculate the number of servers that should be running. It then starts and stops VM’s based on that number
.
This script runs as an Azure Automation Runbook. It’s trigger by a webhook every 5 minutes from an Azure Function.
Link to written description here:
0 Comments