I am writing a script to automate the creation of a VDI and entitlement. The one issue i am having is how do i assign a VM to an existing pool? I can use add-poolentitlement to entitle the user to a pool and i can use update-userownership to add a user to the VM however i can't find the syntax necessary for adding a newly created VM to an existing pool.
↧