VMware Horizon Community
Washbear
Contributor
Contributor

PowerShell Disable Provisioning Global in VMware Horizon View 7

Is there a way to use PowerShell to disable provisioning globally for all pools at the same time in VMware Horizon View Administrator, as it is possible in the GUI under 'View Configuration' / 'Servers' / 'vCenter Servers'. Turn off each pool individually with PowerShell is not a problem, but global?

Reply
0 Kudos
3 Replies
BenFB
Virtuoso
Virtuoso

After banging my head against the wall for about an hour I realized you can't do it globally from the vCenter like you can in Horizon Administrator. It's actually listed in the documentation with this note.

enabledxsd:booleanIs the virtual center enabled?
  • This property cannot be updated.

You might need to disable provisioning against each desktop pool instead.

LucD​ do you have any idea why properties are listed that can't be updated?

Reply
0 Kudos
LucD
Leadership
Leadership

Probably for reporting purposes.

But are you sure this is the global desktop provisioning setting?
I suspect this might be more related to the vCenter being enabled or not.

Wouldn't that sooner be something like the enableProvisioning property on the DesktopVirtualCenterProvisioningSettings object?


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

Reply
0 Kudos
Imrankhan28888
Contributor
Contributor

Hello Guys, 

 

I am trying to disable provisioning on Global Level (disable at vcenter level) using Powershell API but seems only available at Pool level. Is there a way to disable provisioning on Global level or any plans to add this option in future releases? I am using Horizon 7.12.

 

Thanks,

Imran

Reply
0 Kudos