Update StackMonkey.ps1

This commit is contained in:
2025-07-02 23:02:22 -04:00
parent 5e6caa90ef
commit 5c37b33bb3

View File

@@ -1604,13 +1604,7 @@ function Install-DattoRMM {
} }
} }
} }
#Invoke-ScriptMonkey @namedArgs
try {
Invoke-ScriptMonkey @namedArgs Invoke-ScriptMonkey @namedArgs
} catch [System.Management.Automation.ParameterBindingValidationException] {
Write-Host " Invalid parameter: $($_.Exception.Message)" -ForegroundColor Red
}
} else { } else {
Invoke-ScriptMonkey Invoke-ScriptMonkey
} }