Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

IIS WebAdministration does not load properly via Windows Compatibility #79

Description

@doctordns

Using the IIS WebAdministration module with WIndowsCompatibilty does not load the IIS: provider. into a PowerShell 7 session.

To reproduce:

  1. Install Web-Server
  2. Using WInCompat: Load-WinModule -Name WebAdminstration
  3. Do: DIR IIS:\ and you get the error.

Activity

  1. KirkMunro commented on Oct 17, 2019

    @KirkMunro

    This begs the question: does the WindowsCompatibility module even support using providers for modules like this one that drag their heels, still use PSSnapins, and don't run on .NET Core?

  2. doctordns commented on Oct 19, 2019

    @doctordns
    Author

    At present, this does not appear to be supported. Certainly it does not work.

    Unfortunately, there are many modules that are badly designed such that they can not work in PowerShell 7. WSUS, for example, is not supported and uses methods (so can't be supported by WInCompat). In this case, to do many operations with IIS, you need the IIS: provider also not supported.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions