PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
We have Did this functionality change in the 7.11 release? The add vcenter that worked with 7.9 and 7.10 does not work with 7.11 Below is the error message. A...
I am able to add a VM to ManualDesktop using Desktop_AddMachinesToManualDesktop service, however I am struggling with Assign a user to the VM created and added to the Desktop pool....
In the Json spec when creating a Desktop Pool, there is a property called DesktopSettings.displayProtocolSettings.pcoipDistplaySettings.VGPUGridProfile . The $VGPUGridProfile variable is NOT being set from the Json object. This causes the...
In using the VMware.Hv.Helper we have come across a few bugs here and there, which we've tried to fix. However, working in the one enormous file that is `VMware.Hv.Helper.psm1`, we've...
Hi connection server version is 7.10.0 build-14584133 and i'm getting this error PS C:\> $services.Monitoring.Monitoring_GetHealthCounters() Exception calling "Monitoring_GetHealthCounters" with "0" argument(s): "There is an error in the XML document." At...
New-HVPool -InstantClone -PoolName [-PoolDisplayName ] [-Description ] [-AccessGroup ] [-GlobalEntitlement ] -UserAssignment [-AutomaticAssignment ] [-Enable ] [-ConnectionServerRestrictions ] [-AutomaticLogoffPolicy ] [-AutomaticLogoffMinutes ] [-allowUsersToResetMachines ] [-allowMultipleSessionsPerUser ] [-deleteOrRefreshMachineAfterLogoff ] [-supportedDisplayProtocols ]...
Hello, guys. As a newbie to powercli and api, I am struggling to write this simple script for automating regular scheduled snapshot and corresponding recomposing the linked clone pool based...
We make our full clone desktops from running VMs which are always fully patched. This ensures any new machines are fully patched upon first boot. ParentVM and SnapshotId of New-HVPool...
After upgrading to new ESX version HV helper continues to fail with below error. I have uninstalled all Powershell modules and reinstalled, and also using the latest HV.Vmware .helper module....
I try to use **New-HVPool -spec "path/to/json"** i follow [this article](http://www.askaresh.com/2018/01/automating-desktop-pool-creation-using.html) but when i try to create a new Pool i get this error. my code it's the same of...