If you are familiar with Visual Studio’s Package Manager Console, then you probably already know that you can use the “Get-Package” command to list all the packages installed for a given project. If you’ve done this before, you also know that the default width of the “Id” column can truncate many of the entries:
Luckily it’s very easy to format the output using the PowerShell Format cmdlets. Simply adding
| Format-Table -AutoSize
to the end of the command will fix the formatting:
That’s it, hope it helps.