A parameter cannot be found that matches parameter name AllowPrerelease

  less than 1 minute read

To install the pre release features from BCContainer Helper module you can use the parameter like below

Install-Module BcContainerHelper -force -allowPrerelease

But when I ran this on my computer I got below error A parameter cannot be found that matches parameter name AllowPrerelase”

To resolve the error, I have run the below commands and most important thing is you need to restart the shell

Install-Module -Name PackageManagement -Repository PSGallery -Force
Install-Module -Name PowerShellGet -Repository PSGallery -Force

If you have any other tips or suggestions, please do share them in the comments below.

Leave a comment