Used for all Multi-Session Host Pools then the script gets Active Sessions, Disconnected Sessions, Session Host Count, Maximum Session Limit, Total Sessions and Session Usage Percentage which is based on…
Set Azure VM License Type Windows_Client
This script will help update licenses on all your Azure VMs, output to csv and has the option to exclude specific virtual machine names. For my VMS I needed to…
Delete Azure Virtual Machines Including NIC and Disk with PowerShell
Unassign Users from Personal Azure Virtual Desktop
Open PowerShell and modify the SubscriptionID, ResourceGroupName, HostPoolName and SessionHostName. This script will remove the currently assigned user.
Get the Total Number of Active Sessions in a Host Pool (Azure Virtual Desktop)
Here’s a quick PowerShell script to get the total number of active sessions in a Azure Virtual Desktop host pool.
Automatically Change Unattached Disks to Standard HDD
I usually use FunctionApp function with a timer to run maintenance type of scripts but this script can also be used manually. This can be helpful if you still need…
Configure Windows 10 AVD Multi-Session Intune Automatic Enrollment
To configure automatic enrollment of your AVD Windows 10 Multi-Session hosts you will need to enable the “Enable automatic MDM enrollment using default Azure AD credentials” policy setting in either…