From d1ead8155add2b2c56e7030b49b91e7d6871bc86 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Thu, 3 Jul 2025 00:27:15 -0400 Subject: [PATCH] changed the write-host to write-loghybrid --- StackMonkey.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 779a18a..54ad881 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -530,7 +530,8 @@ $subHtml $Global:Listener = [System.Net.HttpListener]::new() $Global:Listener.Prefixes.Add("http://localhost:$Port/") $Global:Listener.Start() - Write-Host "Listening on http://localhost:$Port/ ..." + Write-LogHybrid "Listening on http://localhost:$Port/" Info Server + try { while ($Global:Listener.IsListening) { @@ -1567,8 +1568,7 @@ function Install-DattoRMM { } 'UI' { - Write-LogHybrid "Launching UI" Info Startup -LogToEvent - Write-Host "Starting ScriptMonkey UI on http://localhost:$Port/" -ForegroundColor Cyan + Write-LogHybrid "Starting ScriptMonkey UI on http://localhost:$Port/" Info Startup Start-Process "msedge.exe" -ArgumentList "--app=http://localhost:$Port" Start-Server # blocks until you click Exit return