From bd3172b2e8f755fcbfabff4dec02ed95c109b2af 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 --- lib/ansible/modules/extras/windows/win_updates.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/windows/win_updates.ps1 b/lib/ansible/modules/extras/windows/win_updates.ps1 index fbf260ac0f..0c76dcad66 100644 --- a/lib/ansible/modules/extras/windows/win_updates.ps1 +++ b/lib/ansible/modules/extras/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() }