Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Passing proxy info along when registering default repository #573

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function Add-PackageSource
if($Name -eq $Script:PSGalleryModuleSource)
{
# Add or update the PSGallery repository
$repository = Set-PSGalleryRepository -Trusted:$Trusted
$repository = Set-PSGalleryRepository -Trusted:$Trusted -Proxy $Proxy -ProxyCredential $ProxyCredential

if($repository)
{
Expand Down