Saved_by_Him

Results 6 comments of Saved_by_Him

Same issue here : WARNING: Unable to resolve package source 'https://www.powershellgallery.com/api/v2/'. Windows 8.1 x64 PSVersion 5.1.14409.1018 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.14409.1018 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion...

[REDACTED] ~\Documents\WindowsPowerShell> Get-Module PackageManagement, PowerShellGet -ListAvailable Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 1.4.7 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Script 1.4 PackageManagement {Find-Package, Get-Package, Get-PackageProvider,...

> > > Updating this thread - > > It turns out that psg-prod-eastus.azureedge.net was blocked by IP on a Firewall. I will have more feedback tomorrow if this is...

> @Saved-by-Him can you run `Invoke-WebRequest 'https://www.powershellgallery.com/api/v2/'` and share the output? [REDACTED] ~\Documents\WindowsPowerShell> Invoke-WebRequest 'https://www.powershellgallery.com/api/v2/' -Verbose VERBOSE: GET https://www.powershellgallery.com/api/v2/ with 0-byte payload Invoke-WebRequest : The underlying connection was closed: Could...

I have found a temporary workaround: add-type @" using System.Net; using System.Security.Cryptography.X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { public bool CheckValidationResult( ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem) {...

I do concur. I figured this was a _trust_ issue. This will likely be fixed very soon, I'm certain... It's a good thing Microsoft, Windows PowerShell, and PSGallery are ALWAYS...