Start a Conversation

Unsolved

This post is more than 5 years old

183988

September 28th, 2015 12:00

Powershell Module 8.5 General Problems

I've come across a few more problems with the 8.5 powershell module and was just wondering if anyone knows of any workarounds / know if they have been fixed in 8.6. I am trying to automate the creation of new VMware Linked Clone non persistent desktop groups.

The next problem I found is that when adding a managed domain with Add-QVWManagedDomain there is no -Farm option like with all the other commands I've used. So you have switch to the Farm drive with set-location, then run it.

Also with Add-QVWManagedDomain when you create a domain with this, it will not let users login using this until the broker service is restarted. If you create it in the GUI you can login straight away.

The last problem I've found is that there doesn't seem to be a way when using Set-QVWProvisioningSettings DistributionTargets to set specific datastores under a resource pool when there are many resource pools / datastores listed. Am I missing something with this or is this just not possible?

Does anyone know if there are any other documented APIs for vWorkspace, I've tried searching and can't find anything?

11 Posts

October 2nd, 2015 18:00

I've found some more problems this time with Invoke-QVWComputerAction. First no matter what I do I cannot get it to do a task without waiting for the user to log off. It is as if the -waitForLogOff switch is permanently stuck on.

 

Secondly there is no option to Delete a computer in the QVW.ComputerAction type.


Edit: For the second point I found the remove-QVWComputer

11 Posts

October 3rd, 2015 09:00

Found another bug. It looks like whenever you run Set-QVWProvisioningSettings it wipes out the WAN Acceleration settings from the group. For example I am updating a snapshot with:

Set-QVWProvisioningSettings -Farm $farm -ComputerGroup $group_name -ParentVM "$template_name" -Snapshot $snapshot

RDP Passthrough gets disabled after so I have to then run this to re-enable it:


Set-QVWComputerGroup -Farm $farm -Identity $group_name -WANAccelerationSettings (New-QVWWANAccelerationSettings -RDPPassThrough 1 -Enabled 1)

No Events found!

Top