Update SVSTaskGate.ps1
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user