Skip to content

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

Description

@seanmcne

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions