Update SVSTaskGate.ps1

This commit is contained in:
2025-01-03 23:02:46 -05:00
parent dc6596e38c
commit 91e5567de6

View File

@@ -6,7 +6,9 @@
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# 1) CREATE A GLOBAL LOG CACHE (NEW) # 1) CREATE A GLOBAL LOG CACHE (NEW)
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
$Global:LogCache = New-Object System.Collections.ArrayList if (-not $Global:LogCache -or -not ($Global:LogCache -is [System.Collections.ArrayList])) {
$Global:LogCache = New-Object System.Collections.ArrayList
}
# Check if the Write-Log function exists # Check if the Write-Log function exists