Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’

Lors de l’installation d’un module Powershell, j’obtiens l’erreur :

Unable to resolve package source ‘https://www.powershellgallery.com/api/v2’

Pour solutionner le soucis, il faut ouvrir une session Powershell en tant qu’administrateur et taper la ligne suivante :

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Laisser un commentaire