I am trying to use Artifactory as a mirror for approved PowerShell modules hosted on PowerShellGallery.com. The connection from Artifactory to PowerShellGallery.com appears to be working, but I have been unable to get PowerShell clients to connect to the internal nuget repo. The URL I am using exactly matches the one Artifactory instructs to use, but PowerShell throws 'Repository location is not valid for this provider' and 'Unable to resolve module repository "(Artifactory URL)/api/nuget/vnuget"' warnings when I try to register it or subsequently run the 'Find-Module' cmdlet.
At the end of the day I'm expecting that I can...
1. Use PowerShell 5.0, 5.1, 6.0 to connect to the internal Artifactory NuGet repo
2. When connecting, PowerShellGet and/or NuGet will automatically install or update as needed.
a. Is PackageManagement the same as NuGet? My expectation is that 'nuget-anycpu.exe' installs as part of PackageMangement.
I also sometimes receive an error message stating "The specified Uri '(Artifactory URL)/api/nuget/vnuget' for parameter 'SourceLocation' is an invalid Web Uri. Please ensure that it meets the Web Uri requirements.".