foam_sync.ps1 (LIFEBALANCE) 2025-06-19T18:53:38Z

This commit is contained in:
Ben Miller
2025-06-19 18:53:38 -06:00
parent a8b25953d0
commit 1d2c7af6fc

View File

@ -59,7 +59,9 @@ try {
Write-Host "Checking action..."
$actionMatches = $false
if ($currentAction -is [Microsoft.Management.Infrastructure.CimInstance] `
-and $currentAction.PSObject.Properties['Execute'] `
-and $currentAction.Execute -eq $taskExecute `
-and $currentAction.PSObject.Properties['Argument'] `
-and $currentAction.Argument -eq $taskArguments) {
$actionMatches = $true
}