Forum Discussion
MKSMN
Jun 09, 2021Copper Contributor
Reset all settings and start from clean slate?
Somehow I have managed to get myself into trouble by registering repositories. Now when trying to install some simple modules i get the following error: PS C:\Windows\system32> Install-Module -Na...
SteveMacNZ
Jun 09, 2021Iron Contributor
have you tried the below powershell command to re-register PSGallery?
Register-PSRepository -Defaultyou could also try updating PowerShell NuGet as well
Install-PackageProvider -Name NuGet -Force
MKSMN
Jun 10, 2021Copper Contributor
SteveMacNZ I did try it but would not work.
But i did find the issue late yesterday afternoon. It was a non standard cert that came down from my cisco umbrella protection that stopped PowerShell from even reaching the repository.
I had to export the cert and manually import it. After that and forcing it to use TLS 1.2 it worked great!