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 }