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 ``` 2. Update powershell get with the following: ``` Install-Module -Name PowerShellGet -Force ```
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)