Adding new parameters for Start-HVFarm function to configure the ComputeProfile of the VMs underlying a farm:
NumCPU
Ram
CoresPerSocket
Signed-off-by: Mathieu Desrosiers desrosim@gmail.com
Adding new parameters for New-HVFarm function to configure the ComputeProfile of the VMs underlying a farm:
- NumCPU
- Ram
- CoresPerSocket
Adding the use of the parameter ReusePreExistingAccounts for INSTANT_CLONE farm
Signed-off-by: Mathieu Desrosiers <desrosim@gmail.com>
Function New-HVPool
1. support the setup with json object DesktopSettings.displayProtocolSettings.enableCollaboration
2. support the parameter enableCollaboration
ManualDesktopSpec.VirtualCenter of json file was not taken care of. This could cause new-hvpool fail when creating with json file and there are multiple vcenters added to broker.
Fixes#364 - Get-HVEvent timeout issue
Changes to line 877-879 adds help for a new SqlTimeout parameter added to Get-HVEvent
Changes to line 931-934 add support for the new SqlTimeout parameter with a default value of 30 seconds.
Changes to line 1064 implements the timeout parameter created above when executing the query.
The change to line 1031 resolves an unrelated issue where I was seeing an extra '1' in the output from Get-HVEvent. Adding the `Out-Null` statement is similar to another example in this same function which already existed on line 1065. Adding the `Out-Null` statement did resolve the extra '1' displayed in the output.
Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
The change made in 9d9ebc504b breaks ImagePush operations for Instant Clone pools. See the API documentation for reference.
The schema for `DesktopPushImageSpec` is as follows:
* DesktopPushImageSpec
* Settings
* StartTime
Signed-off-by: Matt Frey <mfrey@vmware.com>
Addressing Issue 496 to resolve the unintentional false condition when `-Value` is set to `$false` on `Set-HVGlobalSettings
Signed-off-by: Matt Frey <mfrey@vmware.com>
If the module is not loaded, and autoloading does not occur before the `Get-HVModuleVersion` call, the result might be an empty string. This gives a chance to force loading the module and error if it is not available.
@TheRealBenForce in #431. I have looked back to PowerCLI 6.5 and this
was the case back then as well and not a new 12.2 change.
VmTemplate_ListByDatacenter Method
VMware.Hv.VmTemplateInfo[] VmTemplate_ListByDatacenter(
VMware.Hv.Services service, VMware.Hv.DatacenterId datacenter
)
Without wanting to steal anyones credit I've created a PR for this change.
- Added 2 lines within "Get-FarmSpec" (3281 + 3282)
- Added new parameters within "New-HVFarm" (2282 till 2312)
- Added new coding within "New-HVFarm" (2856 till 2866)
Fix New-HvManualApplication to support MultiSessionMode and MaxMultiSessions VMware.Hv.ApplicationData properties and validation of MaxMultiSessions param.