# Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.

Recently I started to utilize Prerelease option for my PowerShell Modules. This allows me to early test them before I…

blog

22 Aug 2018 pl

![Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.](/wp-content/uploads/2018/08/img_5b7c83c6b9d34.png)

Recently I started to utilize **Prerelease** option for my **PowerShell Modules**. This allows me to early test them before I release them to public and not having to manually install them. Unfortunately **Install-module ** didn't wanted to play with me this time…

> Install-Module : A parameter cannot be found that matches parameter name AllowPrerelease.

Quick verification on what can be wrong (PowerShell version 4.0 maybe?) but no… it seems PowerShellGet was on much older version.

```powershell
$PSVersionTable
Get-module PowershellGet
Find-module PowershellGet
```

[!\[PowerShellGet module version and repository output\](/wp-content/uploads/2018/08/img_5b7c83c6b9d34.png)](/wp-content/uploads/2018/08/img_5b7c83c6b9d34.png)

Normally if you find an outdated module you simply run **Update-Module** but in this case… you would get an error such as this one: [Update-Module : Module ‘PowershellGet' was not installed by using Install-Module, so it cannot be updated.](/blog/update-module-module-powershellget-was-not-installed-by-using-install-module-so-it-cannot-be-updated/) So now that we know it won't work…

### 💡 How can I fix it?

All you have to do is simply install new version of **PowerShellGet** module from **PowerShellGallery**

```powershell
Install-Module PowershellGet -Force
```

## 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:0B85999BEC8FD94FF837FB7BC1F55AA9D687BD6586A9783EF947963CF0187011 -->
