DesktopRecomposeSpec does not have a Settings attribute

This commit is contained in:
Rob Nelson
2021-05-19 09:46:54 -04:00
parent 88f15d9fe3
commit 9d9ebc504b

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.Settings.startTime = $startTime }
if ($startTime) { $spec.startTime = $startTime }
if (!$confirmFlag -OR $pscmdlet.ShouldProcess($poolList.$item)) {
$desktop_helper.Desktop_SchedulePushImage($services,$item,$spec)
}