PowerShell
The PowerShell forum accepts bug reports as well as feedback and suggestions. For more information, check out the PowerShell Homepage
The following is a list of the states we use to track items.
status | meaning |
---|---|
survey | We saw this and we are considering it. Please upvote if it’s important to you. |
needs more information | We don’t understand the issue and need additional details. |
investigating | We are looking at this internally to understand things like: scenario, reproduction of issue, costing, or other technical details. |
in queue | The issue is understood and in our unprioritized backlog. Your votes will be used to drive prioritization of this work. |
-
Install-PackageProvider doesn't work with proxy authentication
Install-PackageProvider cannot retrieve the list of available providers if the machine doesn't have direct access to the internet.
PS C:\Windows\system32> Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
WARNING: Unable to download the list of available providers. Check your internet connection.
Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package
provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has the tags.
At line:1 char:1
+ Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvider:InstallPackageProvider) [Install-Pac
kageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackagePro
vider
How to reproduce:
1.…49 votes -
Issue with register-packagesource where adding internal source errors on sourcelocation but successfully adds.
Register-PSRepository -InstallationPolicy trusted -PackageManagementProvider Nuget -Sourcelocation
https://binrepo.target.com/artifactory/api/nuget/powershell-gallery2 -name PSModule_TGT
PackageManagement\Register-PackageSource : The property 'SourceLocation' cannot be found on this object. Verify that
the property exists.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:3281 char:17
+ ... $null = PackageManagement\Register-PackageSource @PSBoundParamete ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-Packag
eSource], Exception
+ FullyQualifiedErrorId : PropertyNotFoundStrict,Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSou
rce
PS C:\Users\vagrant> get-packagesource
Name ProviderName IsTrusted IsRegistered IsValidated Location
PSGalleryTGT PowerShellGet True True False https://binrepo.target.com/ar...
PSModule_TGT PowerShellGet True True False https://binrepo.target.com/ar...23 votesThanks for the updates an input on this item. We are working on a solution, and will update this item when it is publicly available.
- Don't see your idea?