Forum Discussion
Michael_Kolm
May 26, 2020Copper Contributor
Update-AzWvdSessionHost cannot set AllowNewSession to false with cmdlet
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
- Please try to supply the -AllowNewSession parameter in Update-AzWVDSessionHost with the following:
-AllowNewSession:$true
-AllowNewSession:$false
- Soo Kuan TeoMicrosoftPlease try to supply the -AllowNewSession parameter in Update-AzWVDSessionHost with the following:
-AllowNewSession:$true
-AllowNewSession:$false- Michael_KolmCopper Contributor
Soo Kuan Teo Thank you very much, it is working now!