Update samy.ps1

This commit is contained in:
2025-11-28 21:17:10 -05:00
parent 3751976617
commit daf17390d7

View File

@@ -1,5 +1,4 @@
#region Documentation <#
<#
## Last changes made should fix the issues we had wen running thi in Windows 11 25H2 ## Last changes made should fix the issues we had wen running thi in Windows 11 25H2
@@ -150,7 +149,6 @@
# Runs the off-boarding tasks in sequence without launching the UI. # Runs the off-boarding tasks in sequence without launching the UI.
#> #>
#endregion Documentation
#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