From 5c37b33bb33b1fc3e83215e170111c36c9a931e2 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 2 Jul 2025 23:02:22 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index b663a86..72d4e04 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -1604,13 +1604,7 @@ function Install-DattoRMM { } } } - #Invoke-ScriptMonkey @namedArgs -try { - Invoke-ScriptMonkey @namedArgs -} catch [System.Management.Automation.ParameterBindingValidationException] { - Write-Host " Invalid parameter: $($_.Exception.Message)" -ForegroundColor Red -} - + Invoke-ScriptMonkey @namedArgs } else { Invoke-ScriptMonkey }