Skip to content

Add setting to powershell.config.json to disable WinPS module loading #11309

Closed

Description

Summary of the new feature/enhancement

In PS7 we introduced the equivalent of WindowsCompatibility module in the engine (although using Jobs remoting instead of WinRM remoting). This is enabled by default. We should have a way to disable this if it causes problems for users. Current proposal is to add a setting in powershell.config.json.

cc Andrew (@anmenaga)

Activity

  1. vexx32 commented on Dec 10, 2019

    @vexx32
    Collaborator

    Yeah, this should be configurable, but isn't the config.json a machine-wide setting? We should probably allow users to set this on a more granular basis if we can.

    Also, do we have a cmdlet that can alter settings other than experimental features in the config.json currently?

  2. SteveL-MSFT commented on Dec 10, 2019

    @SteveL-MSFT
    MemberAuthor

    config.json is both user and machine scoped. We could add cmdlets for this to make it easier for users.

  3. iSazonov commented on Dec 10, 2019

    @iSazonov
    Collaborator

    It is important feature for early adoption and we also could add a message (link to docs) to startup welcome message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions