This is a repository for publicly available WVD scripts.
Add-LogAnalyticsPerfCount.ps1 – Used to add a list of performance counters to a Log Analytics workspace for an Azure Monitor solution available from Microsoft.
Add-WVDDiagSettings.ps1 - Used to add a Log Analytics workspace to a WVD object Diagnostic Settings.
AddAppUsers-FromADGroup.ps1 - Updates an App Group membership based on a Windows AD security group
Copy-AppMaskRules.ps1 - Used with a GPO to copy FSLogix App Mask Rules from a network location to FSLogix rule directory
Get-ScheduledEvents.ps1 - Used to collect scheduled events from the IMDS on an Azure VM and send the events to Log Analytics
Remove-Hostpool.ps1 - Walks the user through removing a host pool from WDS
StartStop-HostPoolVMs - Starts and Stops hosts in a host pool based on user load (Fall 2019 version)
StopSH-MultiHostPools.ps1 - Used with auto start on connect to stop unused session hosts
WVDARM_ScaleHostPoolVMs.ps1 - Start and stop session host based on user sessions. Updated for WVD Spring Update, WVD ARM.