Question

How to find a list of Solution packages are in the solution store in sharePoint 2007 using Powershell?

Was it helpful?

Solution

You can use the following code:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$farm = [Microsoft.SharePoint.Administration.SPFarm]::Local
$farm

to the the SPFarm object and you will have access to the Solutions collection.

Source: Getting an SPFarm object using PowerShell

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top