Skip to content

Decouple dependency on Microsoft.Management.Infrastructure #8397

Open

Description

@SteveL-MSFT

Microsoft.Management.Infrastructure.dll and namespace is for the WMIv2 capabilities which include the CIM cmdlets, DSC dependency, as well as integration with the engine to handle CIM types as first class citizens.

MMI.dll is not Open Source (and no plans to be OSS). We should see about breaking this dependency so that MMI is a separate module. This will likely be a big breaking change for anyone using CIM.

Activity

  1. RichardSiddaway commented on Dec 5, 2018

    @RichardSiddaway

    Will the module still be delivered as part of the install on Windows. If so then I don't see a problem as the functionality is still available and usable. if the module has to be downloaded and installed separately then that will cause problems.

    CIM is incredibly useful on Windows, in practice it doesn't exist on other platforms, so anything that made it harder to use would have a big impact on Windows administrators. From the dashboard the majority of PowerShell usage is Linux based - mainly I suspect because Windows PowerShell is still available. if you want PowerShell to be viewed as a viable alternative to Windows PowerShell the CIM functionality must be easily accessible and usable

  2. SteveL-MSFT commented on Dec 7, 2018

    @SteveL-MSFT
    MemberAuthor

    RichardSiddaway I think this would be solved by #5681

  3. iSazonov commented on Dec 8, 2018

    @iSazonov
    Collaborator

    What time is it planned?
    Is the breaking change approved by PowerShell Core Committee?

  4. RichardSiddaway commented on Dec 8, 2018

    @RichardSiddaway

    I'm still extremely apprehensive about how this will be received. If the #5681 approach is adopted it should have a LOT of advance publicity to explain what's happening. This needs to be explained to the PowerShell community in great detail and early enough that people know and expect the changes. If this is just sprung on the community PowerShell will take a huge credibility hit

  5. iSazonov commented on Dec 8, 2018

    @iSazonov
    Collaborator

    Previously we discussed removing dependency on OMI native client library #8233. Seems MSFT team want to remove all dependencies on native libraries. This intention looks too laborious and perhaps too early.
    First, removing dependency on OMI native client library was postponed. Second, we can't get rid of Microsoft.PowerShell.Native until CoreFX team does native marshaling for Unix-s. Finally, getting rid of MMI is too painful and maybe we should wait for EOL of Windows 7.

  6. SteveL-MSFT commented on Dec 20, 2018

    @SteveL-MSFT
    MemberAuthor

    This is not in scope for 6.2 release. Probably not 6.3 either.

  7. kilasuit commented on Jan 22, 2019

    @kilasuit
    Collaborator

    this semi ties in with #1979 tagging that for visibility there too

  8. hyandell commented on Jan 23, 2019

    @hyandell

    Could the README be updated to indicate the non-open source licensing?

  9. SteveL-MSFT commented on Oct 19, 2023

    @SteveL-MSFT
    MemberAuthor

    We're working on a solution to this for 7.4

  10. microsoft-github-policy-service commented on Apr 16, 2024

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.

    Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original.

  11. added
    KeepOpenThe bot will ignore these and not auto-close
    and removed
    Resolution-No ActivityIssue has had no activity for 6 months or more
    on Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-DSCDesired State Configuration issuesBreaking-Changebreaking change that may affect usersIssue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityKeepOpenThe bot will ignore these and not auto-closeWG-Cmdletsgeneral cmdlet issuesWG-Enginecore PowerShell engine, interpreter, and runtimeWG-Maintainers-Buildspecific to affecting the build

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions