OldrichSrubar
Contributor
Contributor

Assign user in Dedicated pool with Powershell

Hi guys,

I need to solve situation where user assigment in Horizon dedicated pool must be automatic. Well, it's not a problem itself, I have one idea in my head where I will use AD groups and task scheduler with powershell script inside. But problem is that I am not able to find any usable cmdlet for assigment operation.

I was searching VMware Docs and there is something about Update-UserOwnership cmdlet that could solve my problem. However, even I imported all modules from PowerCLI to PowerShell I cannot find it there, this cmdlet doesn't exist.

Reference here: Updating Virtual Machine Ownership

I also imported VMware.v.Helper module but I didn't find anything useful, too.

Is there some cmdlet or short script which can help me to solve this fundamental Horizon operation in Powershell?

Thank you.