< Back
Find-NugetPackage
Post
NAME Find-NugetPackage
SYNOPSIS
Query a Nuget feed for details on a package
SYNTAX
Find-NugetPackage [-Name] <Object> [[-PackageSourceUrl] <Object>] [-IsLatest] [[-Version] <String>]
[<CommonParameters>]
DESCRIPTION
Query a Nuget feed for details on a package
We return:
Name
Author
Version
Uri
Description
Properties (A collection of even more properties)
PARAMETERS
-Name <Object>
Name of the nuget package
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PackageSourceUrl <Object>
Nuget PackageSourceUrl to query.
PSGallery Module URL: https://www.powershellgallery.com/api/v2/ (default)
PSGallery Script URL: https://www.powershellgallery.com/api/v ... /psscript/
Required? false
Position? 2
Default value https://www.powershellgallery.com/api/v2/
Accept pipeline input? false
Accept wildcard characters? false
-IsLatest [<SwitchParameter>]
Only return the latest package
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Version <String>
Query this specific version of a package. Superceded by IsLatest
Required? false
Position? 3
Default value
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:\\>Find-NugetPackage PSDepend -IsLatest
# Get details on the latest PSDepend package from the PowerShell Gallery
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Find-NugetPackage Open-ISEFunction -PackageSourceUrl
https://www.powershellgallery.com/api/v ... /psscript/
# Get details on the latest Open-ISEFunction package from the PowerShell Gallery scripts URI
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Find-NugetPackage PSDeploy
# Get a list of every PSDeploy release on the PowerShell gallery feed
RELATED LINKS
https://github.com/RamblingCookieMonster/BuildHelpers
about_BuildHelpers
SYNOPSIS
Query a Nuget feed for details on a package
SYNTAX
Find-NugetPackage [-Name] <Object> [[-PackageSourceUrl] <Object>] [-IsLatest] [[-Version] <String>]
[<CommonParameters>]
DESCRIPTION
Query a Nuget feed for details on a package
We return:
Name
Author
Version
Uri
Description
Properties (A collection of even more properties)
PARAMETERS
-Name <Object>
Name of the nuget package
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PackageSourceUrl <Object>
Nuget PackageSourceUrl to query.
PSGallery Module URL: https://www.powershellgallery.com/api/v2/ (default)
PSGallery Script URL: https://www.powershellgallery.com/api/v ... /psscript/
Required? false
Position? 2
Default value https://www.powershellgallery.com/api/v2/
Accept pipeline input? false
Accept wildcard characters? false
-IsLatest [<SwitchParameter>]
Only return the latest package
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Version <String>
Query this specific version of a package. Superceded by IsLatest
Required? false
Position? 3
Default value
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:\\>Find-NugetPackage PSDepend -IsLatest
# Get details on the latest PSDepend package from the PowerShell Gallery
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Find-NugetPackage Open-ISEFunction -PackageSourceUrl
https://www.powershellgallery.com/api/v ... /psscript/
# Get details on the latest Open-ISEFunction package from the PowerShell Gallery scripts URI
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Find-NugetPackage PSDeploy
# Get a list of every PSDeploy release on the PowerShell gallery feed
RELATED LINKS
https://github.com/RamblingCookieMonster/BuildHelpers
about_BuildHelpers