diff --git a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 index e71b9bd7b7..e6effebb7b 100644 --- a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 +++ b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 @@ -110,7 +110,7 @@ try { } else { # This should never occur - Fail-Json $result "$measure.count scheduled tasks found" + Fail-Json $result "$($measure.count) scheduled tasks found" } Set-Attr $result "exists" "$exists"