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>
This commit is contained in:
Matt Frey
2021-11-25 06:35:12 -06:00
committed by GitHub
parent 2ec8f92823
commit ccdddba4e7

View File

@@ -7108,7 +7108,7 @@ function Start-HVPool {
$spec.Settings = New-Object VMware.Hv.DesktopPushImageSettings
$spec.Settings.LogoffSetting = $logoffSetting
$spec.Settings.StopOnFirstError = $stopOnFirstError
if ($startTime) { $spec.startTime = $startTime }
if ($startTime) { $spec.Settings.startTime = $startTime }
if (!$confirmFlag -OR $pscmdlet.ShouldProcess($poolList.$item)) {
$desktop_helper.Desktop_SchedulePushImage($services,$item,$spec)
}