Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-Module throws "No match was found for the specified search criteria and module name" #463

Closed
seanmcne opened this issue Mar 24, 2021 · 0 comments
Assignees

Comments

@seanmcne
Copy link
Owner

Starting April 2020 powershell gallery only supports TLS 1.2 - to mitigate this issue (documented here https://docs.microsoft.com/en-us/powershell/scripting/gallery/installing-psget?view=powershell-7#get-the-latest-version-from-powershell-gallery)

  1. Update your current powershell session to support TLS 1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
  1. Update powershell get with the following:
Install-Module -Name PowerShellGet -Force
@seanmcne seanmcne self-assigned this Mar 24, 2021
@seanmcne seanmcne pinned this issue Mar 24, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant