powershell.exe
process:ConstrainedLanguage
, trying to download a file from remote machine, we get Access Denied
:__PSLockdownPolicy
and re-spawning another powershell instance.ConstrainedLanguage
mode. Note how $ExecutionContext.SessionState.LanguageMode
keeps returning ConstrainedLangue
in powershell instances that were not launched with -version Powershell 2
until it does not: