Update-AzWvdSessionHost cannot set AllowNewSession to false with cmdlet

Copper Contributor



i am changing my automation script to new powershell commands, but i looks like that i cannot change the AllowNewSession Value of my Session Host with cmdlet Update-AzWVDSessionHost. I only can activate it.


Any idea what i am doing wrong?


BR Michael

2 Replies
best response confirmed by Michael_Kolm (Copper Contributor)
Please try to supply the -AllowNewSession parameter in Update-AzWVDSessionHost with the following:

@Soo Kuan Teo Thank you very much, it is working now!