SOLVED

Update-AzWvdSessionHost cannot set AllowNewSession to false with cmdlet

Occasional Contributor

Hello,

 

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 (Occasional Contributor)
Solution
Please try to supply the -AllowNewSession parameter in Update-AzWVDSessionHost with the following:
-AllowNewSession:$true
-AllowNewSession:$false

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