log function to write-output unconditionally
This commit is contained in:
@@ -38,7 +38,7 @@ If ( $Name )
|
|||||||
Add-Content -Path $LogFile -Value $LogEntry
|
Add-Content -Path $LogFile -Value $LogEntry
|
||||||
Write-Output $LogEntry
|
Write-Output $LogEntry
|
||||||
}
|
}
|
||||||
Else { Write-Output $LogEntry }
|
Write-Output $LogEntry
|
||||||
}
|
}
|
||||||
|
|
||||||
## Function to determine if the current user context is an Administrator
|
## Function to determine if the current user context is an Administrator
|
||||||
|
|||||||
Reference in New Issue
Block a user