Forum Discussion

Michael_Kolm's avatar
Michael_Kolm
Copper Contributor
May 26, 2020

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

  • Please try to supply the -AllowNewSession parameter in Update-AzWVDSessionHost with the following:
    -AllowNewSession:$true
    -AllowNewSession:$false

Resources