Update StackMonkey.ps1

This commit is contained in:
2025-07-02 23:00:21 -04:00
parent 38a1163943
commit 5e6caa90ef

View File

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