Skip to content

Module discovery cmdlets should be able to override PSCompatibleEdition #6992

Closed

Description

@rjmholt

Moving toward broader usage on Windows for PowerShell Core 6, we will need to honour the PSCompatibleEditions field of module manifests.

However, this field may be set conservatively or defaulted to a conservative value. As such we should allow a flag to allow the forced import of those modules for Get-Module [-ListAvailable] and Import-Module.

Ideally the name of this flag should be pithy, expressive about being a compatibility override behaviour, and dangerous-sounding so that users will understand that things may break as a result.

Activity

  1. added
    Issue-Enhancement
    WG-Engine
    WG-DevEx-Portability
    on Jun 4, 2018
  2. mklement0 commented on Jun 4, 2018

    @mklement0
    Contributor

    -Force may actually work for this - though knowing what is being forced would have to be gleaned from the documentation.

  3. rjmholt commented on Jun 13, 2018

    @rjmholt
    CollaboratorAuthor

    Tagging @PowerShell/powershell-committee for review

  4. added
    Review - Committee
    on Jun 13, 2018
  5. SteveL-MSFT commented on Jun 15, 2018

    @SteveL-MSFT
    Member
  6. removed
    Review - Committee
    on Jul 12, 2018
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-EnhancementResolution-FixedWG-DevEx-PortabilityWG-Engine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions