You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS >Find-PSResource-Name '*'-Repository 'PSGallery'-Debug
DEBUG: In FindPSResource::ProcessResourceNameParameterSet()
DEBUG: Filtering package name(s) on wildcards
DEBUG: In FindHelper::FindByResourceName()
DEBUG: Parameters passed in>>> Name: '*'; ResourceType: 'None'; VersionRange: ''; NuGetVersion: ''; VersionType: 'NoVersion'; Version: ''; Prerelease: 'False'; Tag: ''; Repository: 'PSGallery'; IncludeDependencies 'False'
DEBUG: Searching through repository 'PSGallery'
DEBUG: In FindHelper::SearchByNames()
DEBUG: No version specified, package name is '*'
DEBUG: In V2ServerAPICalls::FindAll()
DEBUG: In V2ServerAPICalls::FindAllFromTypeEndPoint()
DEBUG: In V2ServerAPICalls::HttpRequestCall()
DEBUG: Request url is 'https://www.powershellgallery.com/api/v2/items/psscript/Search()?$filter=$filter=IsLatestVersion&$inlinecount=allpages&$skip=0&$top=6000&$orderby=Id+desc'
DEBUG: Response is empty
Find-PSResource: 'Response status code does not indicate success: 400 (Bad Request).' Request sent: 'https://www.powershellgallery.com/api/v2/items/psscript/Search()?$filter=$filter=IsLatestVersion&$inlinecount=allpages&$skip=0&$top=6000&$orderby=Id+desc'
PS >
If going to that URL in the browser:
<m:errorxmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code/>
<m:messagexml:lang="en-US">URI or query string invalid. Syntax error at position 8 in '$filter=IsLatestVersion'.</m:message>
</m:error>
Prerequisites
Steps to reproduce
Find-PSResource -Name * does not return any results on 1.0.5+.
Expected behavior
All resources in a repository are returned
Actual behavior
No resources in a repository are returned
Error details
N/A
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: