Proxy Powershell Gallery

Guys, is it possible to proxy powershell gallery and use with the powershell package managers

Yes, that should work. But you’ll need to use the v2 feed for now.

https://www.powershellgallery.com/api/v2/

1 Like

Hmm. I have tried but cannot get it to work. Nexus simply not proxying it but no indication as to why. Where could i start to check ?

Anyone successfully implemented this and could guide me here?

Have you checked the nexus.log to see if there are errors happening when Nexus tries to reach the remote?

HI, really new to Nexus. Where might I check that?

Hi folks,

having still the same issue here.
I’m not quite sure if its related to an issue within the repository manager or the PowerShell modules PackageManagement/PowerShellGet.
The PowerShell module try to append ‘api/v2’ to the package sources.

So i think the question here is:

  • Are the PowerShell queries correct?
  • Whats the endpoint for nuget mirror repositories? - Should this also be ‘api/v2’ so it’s transparent for the nugetclient?