Update samy.ps1

This commit is contained in:
2025-12-20 19:57:36 -05:00
parent f1efec09bd
commit ebba417ac4

View File

@@ -5,7 +5,6 @@
Full documentation: https://git.svstools.ca/.../docs/SAMY.help.md 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
@@ -32,8 +31,6 @@ $ProgressPreference = 'SilentlyContinue'
$ConfirmPreference = 'None' $ConfirmPreference = 'None'
#endregion Safely bypass Restricted Execution Policy #endregion Safely bypass Restricted Execution Policy
#endregion Safely bypass Restricted Execution Policy
function Invoke-ScriptAutomationMonkey { function Invoke-ScriptAutomationMonkey {
# ───────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────