Skip to content

PowerShell runs in Constrained Language mode on ARM platforms #7045

Closed

Description

Some legacy code in PowerShell checks the current Windows process architecture and if it is ARM forces PowerShell to run in Constrained Language mode.

https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/security/wldpNativeMethods.cs#L341

This is not needed anymore and ARM platforms should run PowerShell in FullLanguage mode by default.

Steps to reproduce

$ExecutionContext.SessionState.LanguageMode

Expected behavior

FullLanguage

Actual behavior

ConstrainedLanguage

Activity

  1. added
    Issue-Bug
    WG-Engine
    on Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugOS-WindowsResolution-FixedWG-Engine

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions