From 9b3f6c50efc75d7f2ab6bf573e83dfe8c134befe Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 23 Jun 2025 00:37:42 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index fbbb601..1eb9c9e 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -63,11 +63,7 @@ #> -# Listening port for HTTP UI -$Port = 8082 -# Configurable endpoints -$Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit' @@ -116,6 +112,12 @@ $Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit' [switch] $SaveCopy ) + # Listening port for HTTP UI +$Port = 8082 + +# Configurable endpoints +$Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit' + switch ($PSCmdlet.ParameterSetName) { 'Toolkit' { Write-LogHelper "Toolkit-only mode" Info Startup