VMware Cloud Community
YTisHere
Contributor
Contributor

Set-hvpool does not change any setting

Hi,

I want to make a simple change to existing pools. just allow user to change protocol and default protocol to be PCoIP.

$pool = Get-HVPool -PoolName Targetpool
set-hvpool -pool $pool -key 'desktopSettings.displayProtocolSettings.allowUsersToChooseProtocol' -value $true
set-hvpool -pool $pool -key 'desktopSettings.displayProtocolSettings.defaultDisplayProtocol' -value "BLAST"

I see the running result of

Updating the Pool: Targetpool
Updating the Pool: Targetpool

But it's actually nothing has been changed.

I ran it from admin escalated PS ISE.

Any advise is welcome.

Thank you,

 

0 Kudos
3 Replies
LucD
Leadership
Leadership

How did you check nothing was changed?
Did you do a Get-HVPool?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
YTisHere
Contributor
Contributor

From GUI. Actually fromCUI, it is changed!

Why GUI not reflected,,,?

 

Thank you,

 

$pool = get-hvpool -name Targetpool


PS C:\Windows\system32> $pool.DesktopSettings.DisplayProtocolSettings


SupportedDisplayProtocols : {BLAST, PCOIP, RDP}
DefaultDisplayProtocol : BLAST
AllowUsersToChooseProtocol : True
PcoipDisplaySettings : VMware.Hv.DesktopPCoIPDisplaySettings
EnableHTMLAccess : True
EnableCollaboration : False

 

Thank you,

 

0 Kudos
LucD
Leadership
Leadership

No idea.
There might be a delay or perhaps needs a restart.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos