win_updates fix to use documented InstanceGuid property name

reviewable/pr18780/r1
nitzmahone 9 years ago
parent 93db039783
commit 5abb914315

@ -280,7 +280,7 @@ Function DestroyScheduledJob {
$running_tasks = @($schedserv.GetRunningTasks(0) | Where-Object { $_.Name -eq $job_name })
Foreach($task_to_stop in $running_tasks) {
Write-DebugLog "Stopping running task $($task_to_stop.InstanceId)..."
Write-DebugLog "Stopping running task $($task_to_stop.InstanceGuid)..."
$task_to_stop.Stop()
}

Loading…
Cancel
Save