Thursday, 9 May 2019

Windows Server 2008, 2012, 2012R2: Install-Module is not recognized

When you want to user Install-Module on Windows Server 2018 or older you can see following error:

This could happened if you for example need to install AzureAD 2.0 powershell.
You then need to go to :
and get the package for your operating system

Follow on screen wizard and restart your server.
After that you should not have problem using install-module cmdlet:


  1. The installation process will take a few hours. Am I right? But I think it's worthy of the result. Thanks for submitting!

  2. Yes, this system is quite fast and reliable. But for installation, you need to know the hardware requirements. This knowledge will help to avoid installation problems.