Skip to content

Get NugetPackageSearchMetadata

Apostolis Bekiaris edited this page Apr 22, 2020 · 7 revisions

external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0

Get-NugetPackageSearchMetadata

SYNOPSIS

Returns only the metadata of a NuGet package.

SYNTAX

Get-NugetPackageSearchMetadata [[-Name] <String>] [-Source] <String> [-IncludePrerelease] [-AllVersions]
 [-Versions <String[]>] [-IncludeDelisted] [<CommonParameters>]

DESCRIPTION

Returns only the metadata of a NuGet package.

EXAMPLES

Example 1

PS C:\> Get-NugetPackageSearchMetadata -AllVersions -Sources $packageFeed

Returns all metadata for the packageFeed

PARAMETERS

-AllVersions

{{ Fill AllVersions Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeDelisted

{{ Fill IncludeDelisted Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludePrerelease

{{ Fill IncludePrerelease Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

The packageName

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Source

The package source

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Versions

{{ Fill Versions Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally