Getting a Set of Packages

This command gets the set of packages available from the package source:

Get-Package -Source <string> [-ListAvailable] [-Updates] [-ProjectName] [-Recent] [-Filterimages  <string>] [-First <int>] [-Skip <int>] [-AllVersions] [-IncludePrerelease]

This command defaults to showing only the list of installed packages. Use the -ListAvailable flag to list packages available from the package source. Available options for this command are shownin Table C-2.

images

Using this command, you can easily loop through all installed packages on ...

Get Pro NuGet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.