You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -305,28 +306,34 @@ function Test-TargetResource
305
306
{
306
307
if ($TaskPath-ne$currentValues.TaskPath)
307
308
{
309
+
Write-Verbose-Message "TaskPath does not match desired state. Current value: $($currentValues.TaskPath) - Desired Value: $TaskPath"
308
310
return$false
309
311
}
310
312
if ($ActionExecutable-ne$currentValues.ActionExecutable)
311
313
{
314
+
Write-Verbose-Message "ActionExecutable does not match desired state. Current value: $($currentValues.ActionExecutable) - Desired Value: $ActionExecutable"
312
315
return$false
313
316
}
314
317
if (($PSBoundParameters.ContainsKey("ActionArguments") -eq$true) `
Write-Verbose-Message "ActionArguments does not match desired state. Current value: $($currentValues.ActionArguments) - Desired Value: $ActionArguments"
317
321
return$false
318
322
}
319
323
if (($PSBoundParameters.ContainsKey("ActionWorkingPath") -eq$true) `
Write-Verbose-Message "ActionWorkingPath does not match desired state. Current value: $($currentValues.ActionWorkingPath) - Desired Value: $ActionWorkingPath"
322
327
return$false
323
328
}
324
329
if ($ScheduleType-ne$currentValues.ScheduleType)
325
330
{
331
+
Write-Verbose-Message "ScheduleType does not match desired state. Current value: $($currentValues.ScheduleType) - Desired Value: $ScheduleType"
326
332
return$false
327
333
}
328
334
if ($RepeatInterval-ne$currentValues.RepeatInterval)
329
335
{
336
+
Write-Verbose-Message "RepeatInterval does not match desired state. Current value: $($currentValues.RepeatInterval) - Desired Value: $RepeatInterval"
330
337
return$false
331
338
}
332
339
@@ -342,6 +349,7 @@ function Test-TargetResource
342
349
}
343
350
if ($localUser-ne$currentValues.ExecuteAsCredential)
344
351
{
352
+
Write-Verbose-Message "ExecuteAsCredential does not match desired state. Current value: $($currentValues.ExecuteAsCredential) - Desired Value: $localUser"
0 commit comments