vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
759 stars 604 forks source link

Get-hvpool information about maximum number of desktops in pool #408

Closed D-Alberto closed 3 years ago

D-Alberto commented 3 years ago

I cannot find way to retrive the maximum number of desktop configured in a desktop pool. Thx

CajunBard commented 3 years ago

AFAIK, this isn't stored in the API, but rather comes from documented guidance and depends on the pool type, Horizon version, etc...

For Horizon 7 - https://kb.vmware.com/s/article/2150348 For Horizon 8 - https://configmax.vmware.com/guest?vmwareproduct=Horizon&release=Horizon%202012&categories=46-0

Magneet commented 3 years ago

I think @D-Alberto means the maximum amount of machines that already has been configured on the pool. This is stored under AutomatedDesktopData.VmNamingSettings.PatternNamingSettings image

CajunBard commented 3 years ago

On second pass, I believe you're right. I should have had a second coffee before replying

D-Alberto commented 3 years ago

Thank you so much that's exactly what I was looking for.