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
|
# 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user