Update samy.ps1
This commit is contained in:
2
samy.ps1
2
samy.ps1
@@ -2156,7 +2156,7 @@ function Install-DattoRMM {
|
||||
# dot-sourced, don't invoke
|
||||
} elseif ($PSCommandPath) {
|
||||
# script was saved and run directly
|
||||
Invoke-ScriptAutomationMonkey @PSBoundParameters
|
||||
Invoke-ScriptAutomationMonkey @args
|
||||
} else {
|
||||
# iwr | iex fallback
|
||||
if ($args.Count -gt 0) {
|
||||
|
||||
Reference in New Issue
Block a user