Forum Discussion
BrianPitt
Sep 28, 2021Brass Contributor
Automated way to Stop and Start Scaling Scripts
We have scaling scripts that run for an AVD pool that takes the 15 VM pool down to 2 running VMs during off-peak hours. This scaling script runs every 15 minutes and will shut down anymore than 2 ru...
ATWVD
Sep 29, 2021Copper Contributor
We use automation runbooks for this, one runbook for disable and one for enable. Use a schedule to run disable on the day before patching and then run the runbook for enable the day after.
Set-AzLogicApp -ResourceGroupName "your logic app resource group" -Name "logic app name" -State "Enabled" -Force