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
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:
lwhitelock
11 Posts
0
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
lwhitelock
11 Posts
0
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)