# Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program

Recently I was asked to implement PSWinReporting onto yet another domain. Happily I’ve started to install my 6 modules to…

blog

25 Jul 2018 pl

![Install-Module: The term Install-Module is not recognized as the name of cmdlet, function, script file or operable program](/wp-content/uploads/2018/07/img_5b582a3465b57.png)

[Zobacz obrazy (2)](#pf-content-image-1-0)

Recently I was asked to implement **PSWinReporting** onto yet another domain. Happily I've started to install my 6 modules to get it up and running… but got stopped with an error message:

> Install-Module: The term Install-Module is not recognized as the name of 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.

### 💡 Short description of problem

```powershell
Install-Module PSTeams
Install-Module PSEventViewer
Install-Module PSWinReporting
Install-Module PSWriteColor
Install-Module ImportExcel
Install-Module PSSlack
```

[!\[Install-Module Errors\](/wp-content/uploads/2018/07/img_5b582a3465b57.png)](/wp-content/uploads/2018/07/img_5b582a3465b57.png)

Install-Module Errors Turns out I was on version 4.0 of **PowerShell** which doesn't seem to support Install-Module. Luckily… I knew what to do…

### 💡 How do I get rid of it?

Easiest way to solve it is by installing [Windows Management Framework 5.1](https://www.microsoft.com/en-us/download/details.aspx?id=54616) which brings proper commands into the system. Simply click the link, install, reboot and enjoy your **Install-Module** commands.

[!\[Windows Management Framework 5.1\](/wp-content/uploads/2018/07/img_5b5829d5a3796.png)](/wp-content/uploads/2018/07/img_5b5829d5a3796.png)

Windows Management Framework 5.1 After reboot** Install-Module** no longer reports errors.

```powershell
PS C:\Windows\system32> Install-Module PSTeams
PS C:\Windows\system32> Install-Module PSEventViewer
PS C:\Windows\system32> Install-Module PSWinReporting
PS C:\Windows\system32> Install-Module PSWriteColor
PS C:\Windows\system32> Install-Module ImportExcel
PS C:\Windows\system32> Install-Module PSSlack
```

Of course you can install all modules manually but that's just gonna get ugly later on when you want to have them up to date.

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:42CD30F49DCDC7DCDBB3FC8D3EBE12A7003468A14738BCF30548E61BFACA39EA -->
