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

IIS WebAdministration does not load properly via Windows Compatibility #79

Open
doctordns opened this issue Sep 19, 2019 · 2 comments
Open

Comments

@doctordns
Copy link

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.
@KirkMunro
Copy link

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?

@doctordns
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants