Update samy.ps1

This commit is contained in:
2025-12-20 17:11:58 -05:00
parent e73f8ea9e9
commit 3a8ff61d31

View File

@@ -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
} }
} }