From f87fca2e1b790587269d8854e1271dc351fa6944 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 23 Jun 2025 00:24:32 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 598c842..0a8ed09 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -1383,5 +1383,8 @@ if (-not $SilentInstall) { Start-Server } - +# Only auto-invoke if the user actually passed parameters +if ($PSBoundParameters.Count -gt 0) { + Invoke-ScriptMonkey @PSBoundParameters +}