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
#>
#region Safely bypass Restricted Execution Policy
# Safely bypass Restricted Execution Policy
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
@@ -30,8 +29,6 @@ if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$ProgressPreference = 'SilentlyContinue'
$ConfirmPreference = 'None'
#endregion Safely bypass Restricted Execution Policy
#endregion Safely bypass Restricted Execution Policy
function Invoke-ScriptAutomationMonkey {