foam_sync.ps1 (LIFEBALANCE) 2025-06-19T13:48:45Z
This commit is contained in:
@ -74,6 +74,9 @@ try {
|
|||||||
if ($existingTask.Settings.ExecutionTimeLimit -eq $taskExecutionTimeLimit) {
|
if ($existingTask.Settings.ExecutionTimeLimit -eq $taskExecutionTimeLimit) {
|
||||||
$settingsMatch = $true
|
$settingsMatch = $true
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
Write-Warning "settings do not match: want "
|
||||||
|
}
|
||||||
|
|
||||||
if ($triggerMatches -and $actionMatches -and $principalMatches -and $settingsMatch) {
|
if ($triggerMatches -and $actionMatches -and $principalMatches -and $settingsMatch) {
|
||||||
Write-Host "Scheduled task '$taskName' is already correctly configured."
|
Write-Host "Scheduled task '$taskName' is already correctly configured."
|
||||||
|
|||||||
Reference in New Issue
Block a user