Closed AurimasNav closed 6 years ago
@complexxL9 Could you please get the output of following two commands from your machine?
Find-Packaage -Source https://www.myget.org/F/com/api/v2 -Provider NuGet -FilterOnTag PSIncludes_DscResource -Verbose -Debug | Format-List * -Force
$ModuleName = 'xExchange' # or replace this with your module name
Find-Packaage -Source https://www.myget.org/F/com/api/v2 -Provider NuGet -Name $ModuleName | Format-List * -Force
@complexxL9 It looks like tag based search is not supported in myget feeds. I have verified this with a custom myget feed.
Expected Behavior
Find-DSCResource -Repository "internalPSrepository"
should return a list of all DSC resources available in the internal PS repositoryCurrent Behavior
returns no results
Possible Solution
Steps to Reproduce (for bugs)
Register-PSRepository -Name InternalPSGallery -SourceLocation https://www.myget.org/F/com/api/v2 -PublishLocation https://www.myget.org/F/com/api/v2/package
Save-Module -repository PSGallery -name xExchange -path C:\temp
Publish-Module -Path C:\temp\xExchange -Repository InternalPSGallery -NuGetApiKey myapikey
Find-DSCResource -Repository InternalPSGallery
(also tested with jfrogs artifactory nuget repository)Context
we are trying to setup internal "psgallery" and would like to have Find-DSCResource working just for convenience of searching DSC resources without knowing the module name beforehand.
Your Environment