Getting Project Information

This command gets the specified project. If none is specified, it returns the default project.

Get-Project [[-Name] <string>] [-All] [<CommonParameters>]

Available parameters for this command are shown in Table C-3.

images

An example of calling Get-Project is shown in Figure C-1; it illustrates the output including the ProjectName, Type, and FullName properties of the object.

images

Figure C-1. Example output of the Get-Project cmdlet in NuGet Package Manager Console

This command opens up quite a few interesting opportunities ...

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.