Install-module error in PowerShell

ISSUE -“install-module : The term ‘install-module’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.”

The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

RESOLUTION: GUI fix for this error is to download and install PowerShell version 5.1 or greater from Microsoft.

Latest PowerShell version as of Mar’2019 is Powershell 6.1.3.  Click to Download PowerShell 6.1.3 for  windows X64 or windows X86 here.

  • ‘Install-module’ command is available only from PowerShell version 5.0 or higher
  • We can check our current PowerShell version using $PSVersiontable command.
  1. Launch Management framework 5.1 download page
    CLICK HERE TO DOWNLOAD POWERSHELL 5.1 INSTALLER
  2. Select ‘Download’ . Choose your OS and type to proceed.Install-module error in powershell
  3. Once the setup is downloaded, install the package and restart your machine.

Install-module error in powershell5.Now verify Powershell version using $psversiontable command and you can now able to use install-module command. Install-module error in powershell

By AMARNATH K

AM@RNATH is a Technology specialist primarily focus on Microsoft Technologies & Cloud Security. His certification includes M365 Certified: Enterprise Admin Expert. He loves to explore things from the latest technologies to cooking new recipes. Basically from Chennai, the southern part of India. Lucky son, friendly husband, and a proud father who loves to spend time with his family & friends while the laptop is not in his table.

2 thoughts on “Install-module error in PowerShell (Resolved)”

Leave a Reply

Your email address will not be published.