Shut Down Unused Session Hosts in a Windows Virtual Desktop Pooled or Personal Host Pool

WVD Function App

(UPDATED 6/17/2021 with code for multiple pooled and personal host pools) Azure Virtual Desktop (previously Windows Virtual Desktop (WVD)) has a new option in preview that starts session hosts in a personal or pooled host pool when a user connects. It won’t, however, shut down the session hosts when the user logs out. The script outlined in this video will evaluate all running and available session hosts in a personal or pooled host pool and shut down and deallocate session hosts without an active connection.  Deallocating Session hosts while not in use can save money on compute costs.

Continue reading “Shut Down Unused Session Hosts in a Windows Virtual Desktop Pooled or Personal Host Pool”

Auto Start and Stop Session Hosts in Windows Virtual Desktop Spring Update (ARM) Edition with an Azure Function

I am happy to release an update to my Windows Virtual Desktop (WVD) Start-Stop script for Windows Virtual Desktop updated for Spring 2020, or “WVD ARM.”  This script uses an Azure Function to starts and stops WVD Session hosts in a host pool based on the user load. 

Continue reading “Auto Start and Stop Session Hosts in Windows Virtual Desktop Spring Update (ARM) Edition with an Azure Function”

Automatically Start and Stop WVD VM’s with Azure Automation

One value proposition of any cloud service is consumption-based pricing, only paying for services when used.  Consumption-based pricing is an advantage of Windows Virtual Desktop (WVD), Microsoft Azure-hosted remote desktop service.  Or at least it would be if there was an easy way to start and stop session hosts based on demand.

Continue reading “Automatically Start and Stop WVD VM’s with Azure Automation”