Update samy.ps1
This commit is contained in:
10
samy.ps1
10
samy.ps1
@@ -1,3 +1,11 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Script Automation Monkey (SAMY) ...
|
||||||
|
.NOTES
|
||||||
|
Full documentation: https://git.svstools.ca/.../docs/SAMY.help.md
|
||||||
|
#>
|
||||||
|
|
||||||
|
|
||||||
#region Safely bypass Restricted Execution Policy
|
#region Safely bypass Restricted Execution Policy
|
||||||
# Safely bypass Restricted Execution Policy
|
# Safely bypass Restricted Execution Policy
|
||||||
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
||||||
@@ -2066,5 +2074,3 @@ function Install-DattoRMM {
|
|||||||
Invoke-ScriptAutomationMonkey
|
Invoke-ScriptAutomationMonkey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user