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. |
-
Find-Module and Install-Module does not get the modules from the custom nuget fileshare repositories though they are registered successfully
PS C:\Windows\system32> Get-PSRepository
Name InstallationPolicy SourceLocation
PSGallery Untrusted https://www.powershellgallery.com/api/v2/
TestRepo Trusted \NugetServer\BMNNuGet\packagesPS C:\Windows\system32> Find-Module * -Repository TestRepo
Version Name Repository Description
1.0.1 cConfigNode TestRepo Provides a way to manipulate nodes of the xml configu...
1.3.0 cNtfsAccessControl TestRepo The cNtfsAccessControl module contains DSC resources ...
3.2.0 xNetworking TestRepo Module with DSC Resources for Networking area
1.0.0 xReleaseManagement TestRepo Host a custom DSC Resource to transform files based o...
1.17.0 xWebAdministration TestRepo Module with DSC Resources for Web AdministrationPS C:\Windows\system32> Find-Module xNetworking -Repository TestRepo
PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'xNetworking'. Try …2 votesSorry for the long lag in responding to this, all I can say is that we missed it.
This problem is not something we’re familiar with. If the problem is still repro’ing, please try re-running your commands with -Verbose, and attach the information to this thread.
One additional question that might help us: what version of the NuGet server are you using?
-
Add a favicon to the gallery
The poor PS gallery tab and bookmark look so sad and grey... :,-(
1 vote -
Allow for publishing Profile Paths with Spaces
when using publish module if a user has a space in their profile it fails to publish the module:
PS C:> Publish-Module -Tags Twitter -Name Posh-Tweet -NuGetApiKey xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxx -Verbose
VERBOSE: The specified assembly 'C:\Users\Carlos Perez\AppData\Local\PackageManagement\ProviderAssemblies\nuget-anycpu.exe' is installed at top level directory. However it is recommended that the assemblies should be installed under its ProviderName\Version folder.
VERBOSE: Skipping previously processed provider 'NuGet'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
VERBOSE: Publish Location:'https://www.powershellgallery.com/api/v2/package/'. …6 votes -
Allow Register-PSRepository to persist credentials
NuGet feeds allow security around both listing/retrieving packages as well as pushing packages. NuGet.exe and other clients further allow you to persist credentials for listing/retrieving packages using the "nuget sources" command. (https://docs.nuget.org/consume/command-line-reference#sources-command)
This persistence is important for two reasons:
1) When you push a package to a secured NuGet feed, NuGet clients generally do a list/read operation first. That list/read operation doesn't contain any API key that you pass along in the push operation. In order for a push to succeed with an API key, you also need to have credentials set for the read operation. You can…
33 votesThanks for the input. We are investigating this, but can make no commitment at this time.
- Don't see your idea?