log function to write-output unconditionally

This commit is contained in:
2020-09-24 12:49:07 -04:00
parent 27897cc483
commit 2d940adee9
+1 -1
View File
@@ -38,7 +38,7 @@ If ( $Name )
Add-Content -Path $LogFile -Value $LogEntry
Write-Output $LogEntry
}
Else { Write-Output $LogEntry }
Write-Output $LogEntry
}
## Function to determine if the current user context is an Administrator