Display Available Solutions on the Farm

Scenario/Problem: You need to obtain a solution reference and therefore need a listing of available solutions.

Solution: Use the Get-SPSolution cmdlet without any parameters to retrieve all available solutions.

To obtain a solution reference object, you need to find the identity of the solution. Using the Get-SPSolution cmdlet by itself (see Listing 9.2) displays all available solutions deployed to the current farm.

Listing 9.2. Displaying All Available Solutions

Get-SPSolution

Get PowerShell™ for SharePoint® 2013 How-To 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.