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
then next next next... and install.
Here you find details to install IISAdministration in different environments
On windows/windows server we can install module using