Forum Discussion
MaranVerweij
May 11, 2020Copper Contributor
Az.Desktopvirtualization Powershell issues
Hello, The Az.Desktopvirtualization module has some oddities, especially when compared to the previous module for Non-ARM. 1 Get-AzWvdSessionHost The name column this cmdlet produces has t...
MaranVerweij
May 18, 2020Copper Contributor
@ Point 3;
The currently accepted syntax to enable drain mode is:
Update-AzWvdSessionHost -SubscriptionId $Az_Sub_Id -HostPoolName $WVD_Hostpool -ResourceGroupName $WVD_Hostpool_RG -Name $FQDN -AllowNewSession:$False
The currently accepted syntax to enable drain mode is:
Update-AzWvdSessionHost -SubscriptionId $Az_Sub_Id -HostPoolName $WVD_Hostpool -ResourceGroupName $WVD_Hostpool_RG -Name $FQDN -AllowNewSession:$False