WARNING: Unable to download the list of available providers. Check your internet connection.
This post describes how to resolve:
WARNING: Unable to download the list of available providers. Check your internet connection.
Cause
This warning can occur when trying to install a PowerShell module or register a PowerShell repository and Tls12 is not specified as the SecurityProtocol.
Resolution
To resolve this issue, set the SecurityProtocol to Tls12 by running this command in PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
You should then be able to register module repositories and install PowerShell modules successfully.
Comments
Post a Comment