Update SVSTaskGate.ps1
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# 1) CREATE A GLOBAL LOG CACHE (NEW)
|
||||
# ---------------------------------------------------------------------------
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user