From 5abb914315864b714395863af99c0ac1bd66a7ba Mon Sep 17 00:00:00 2001 From: nitzmahone Date: Thu, 7 Apr 2016 17:38:32 -0700 Subject: [PATCH] win_updates fix to use documented InstanceGuid property name --- windows/win_updates.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_updates.ps1 b/windows/win_updates.ps1 index fbf260ac0fe..0c76dcad664 100644 --- a/windows/win_updates.ps1 +++ b/windows/win_updates.ps1 @@ -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() }