Update StackMonkey.ps1
This commit is contained in:
@@ -234,7 +234,7 @@ function Write-LogHybrid {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if ( Get-Command -Name Write-Log -ErrorAction SilentlyContinue ) {
|
if ( Get-Command -Name Write-Log -ErrorAction SilentlyContinue ) {
|
||||||
# SVSMSP module’s Write-Log is available
|
# SVSMSP module's Write-Log is available
|
||||||
Write-Log -Message $Message -Level $Level -TaskCategory $TaskCategory -LogToEvent:$LogToEvent
|
Write-Log -Message $Message -Level $Level -TaskCategory $TaskCategory -LogToEvent:$LogToEvent
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user