Pages

Monday, March 2, 2015

List of all SharePoint custom solutions and deployed web applications in the farm

      I was working on getting all the custom solutions in the farm. This could be obtained from the Central Administration. (Central Administration -> System Settings -> Manage farm solutions)

I wanted this list of solutions and also the web applications where they were deployed. I worked with a friend and came up with a PowerShell script to do this. This will definitely save you some time.

PowerShell Script

$File = "E:\SolutionandDeployedWebApplications.txt"
foreach ($solution in Get-SPsolution)
{
echo $solution.Name | Out-File $File -Append
echo $solution.DeployedWebApplications | Format-Table -Property Url | Out-File $File -Append

}

No comments:

Post a Comment