Update samy.ps1

This commit is contained in:
2026-01-12 13:28:49 -05:00
parent b55ee3ff26
commit 051471e237

View File

@@ -2156,7 +2156,7 @@ function Install-DattoRMM {
# dot-sourced, don't invoke # dot-sourced, don't invoke
} elseif ($PSCommandPath) { } elseif ($PSCommandPath) {
# script was saved and run directly # script was saved and run directly
Invoke-ScriptAutomationMonkey @PSBoundParameters Invoke-ScriptAutomationMonkey @args
} else { } else {
# iwr | iex fallback # iwr | iex fallback
if ($args.Count -gt 0) { if ($args.Count -gt 0) {