NO Repository found error.
I tried to troubleshoot with the help of PSgallery below support link, but no luck
https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/
NO Repository found error.
I tried to troubleshoot with the help of PSgallery below support link, but no luck
https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/
Run this:
get-module powershellget -list
Are you running the latest non-beta version? Here's the web page: 2.2.4.1
Then run this:
get-module nuget -list
What version are you running?
Run this:
get-packageprovider
Do you see PowerShellGet and NuGet in the list? What are their version numbers? I think NuGet has to be at least 2.8.?.?
Hi Rich Mathesien,
Thank you for the inputs, I could resolve by executing the commands you have provided. PFA
So installing Beta version fixed the issue right?
Hi there,
If you are trying to Configure TLS 1.2 for your PowerShell session do the following steps.
-Run PowerShell as administrator.
-To set TLS 1.2 for the current PowerShell session, type:
$TLS12Protocol = [System.Net.SecurityProtocolType] 'Ssl3 , Tls12'
[System.Net.ServicePointManager]::SecurityProtocol = $TLS12Protocol
Also, PowerShell Team has released a new PowerShellGet, which solves the issue with TLS 1.2 requirement.
--If the reply is helpful, please Upvote and Accept it as an answer–
Hi Limitless Technology,
I am still seeing same issue. PFA.
Hi sns1,
Try running Register-PSRepository -Default (without any additional parameters). After that, the Gallery should be successfully registered:
PS C:\Windows\system32> Get-PSRepository
I hope this helps.
--If the reply is helpful, please Upvote and Accept as answer--
Hi Limitless technology,
I am still getting error, please find attached screenshot.
20 people are following this question.