Open glatzert opened 4 years ago
@alerickson today I hit this on a Powershell 7.1 running on windows server core which has outbound connectivity via an http proxy.
Register-PSRepository -Default
is a noop with no result.
Register-PSRepository -SourceLocation "https://www.powershellgallery.com/api/v2/" -Name "PSGallery"
Ends in Register-PSRepository: Use 'Register-PSRepository -Default' to register the PSGallery repository.
This is extremely frustrating.
Steps to reproduce
Expected behavior
The command has output, which makes it easy to determine, the requested operation failed - possibly with HTTP-failure message.
Actual behavior
The command does not return anything indicating an error (not even in Verbose).
Environment data