My current environment is Windows 7 Enterprise Edition(SP1) with PowerShell V5
PSVersion = 5.0.10586.117
For somehow when I try to run the following statement (it worked well before)
new-object System.Net.WebClient
I started to get the following error
I checked
$ExecutionContext.SessionState.LanguageMode
and the result is: ConstrainedLanguage
I am now at a loss on how to change this LanguageMode to "FullLanguage" as mentioned in this URL
I googled around and do not see anything related to my environment, the closest link I see is here in MS technet forum. But in my case, I do not think it is AppLocker enabled (or do I have to ask my network admin to check the group policy?) and I do not see any SRP (Software Restriction Policy) on my local computer either.
Could someone please tell me how to fix this issue or how to check various aspects that lead to this LanguageMode change? or is there a way that I can edit the LangugageMode value? Thanks in advance for your help.
