How To Unblock Powershell -
// Compile and run this C# to get full language mode using System.Management.Automation; var ps = PowerShell.Create(); ps.AddScript("$ExecutionContext.SessionState.LanguageMode").Invoke();
Marcus stared. Sterling hadn’t just blocked the policy; he had restricted the language mode . The PowerShell session was running in "Constrained Language Mode," stripping out dangerous commands like Invoke-Expression . how to unblock powershell