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.

Screenshot showing 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.


Related Posts

WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.

Comments

Popular posts from this blog

LG TV This app will now restart to free up more memory

What is the "W" light on a Steelseries keyboard?

Excel Import CSV not using "Use First Row as Headers"