We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0449e71 commit 753b77cCopy full SHA for 753b77c
1 file changed
DSCResources/MSFT_xScheduledTask/MSFT_xScheduledTask.psm1
@@ -1489,12 +1489,12 @@ function ConvertTo-TimeSpanFromTimeSpanString
1489
$AllowIndefinitely
1490
)
1491
1492
- if ($AllowIndefinitely -eq $True -and $TimeSpan -eq 'Indefinitely')
+ if ($AllowIndefinitely -eq $True -and $TimeSpanString -eq 'Indefinitely')
1493
{
1494
return [System.TimeSpan]::MaxValue
1495
}
1496
1497
- return [System.TimeSpan]::Parse($TimeSpan)
+ return [System.TimeSpan]::Parse($TimeSpanString)
1498
1499
1500
<#
0 commit comments