< Back

Search-NugetForNamespace

Wed Jan 15, 2020 4:25 am

NAME Search-NugetForNamespace



SYNOPSIS

Searches for Nuget packages by a namespace name.





SYNTAX

Search-NugetForNamespace [-Search] <String> [-AllowPrerelease] [-CaseSensitive] [-LatestVersion] [-PageIndex

<Int32>] [<CommonParameters>]





DESCRIPTION

Searches Jet Brain's awesome Resharper API for Nuget packages by namespace, and returns

a paged list of objects. Results are limited to 20 per page, so this function also returns

the total number of items, the total pages and the current page (if applicable).





PARAMETERS

-Search <String>

Namespace name to search.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AllowPrerelease [<SwitchParameter>]

Allow searching for prerelease nuget packages, false by default.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-CaseSensitive [<SwitchParameter>]

Use case sensitive matching for type name, false by default.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-LatestVersion [<SwitchParameter>]

Search only latest versions of packages, true by default



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-PageIndex <Int32>

Search results page index, page size is 20 items.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Simple search for a specific type:



Search-NugetForNamespace Esri









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Go to a specific page in the search results:



Search-NugetForNamespace Date -PageIndex 8











RELATED LINKS