Windows Server 2016 comes with a shiny new module named IISAdministration. But when I try to load the module I get the error that 'no valid module file was found'. It is not on the powershell gallery and google does not find a download on the internet.

So where is that module hiding? How to I get it installed on my Windows Server 2016?


It turns out that the IISAdministration powershell module is a server feature.

With PowerShell you enable it with
Install-WindowsFeature web-mgmt-console

Or from the Server Manager GUI, under Server Roles, you select:
Web Server (IIS) -> Management Tools -> IIS Management Scripts and Tools


You can install that feature using a windows PowerShell console with elevated privileges (running it as administrator).

You can't install it from internet since it's within the IIS role of windows server, so you would need to install IIS 1st and then you can import it whenever you needed too.

So the step by step would be * Server manager/Add Roles and Features/Next/Role-based or feature-based installation/SelectYourserver/next

IIS Picture

then next next next... and install.

  • Thanks for the screenshot. This is actually in the 'IIS Management Scripts and Tools' feature, not in the 'IIS Management Console'. – Mark Arnott Apr 11 '17 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.