Tuesday, December 2, 2014

Retrieve details of solution using powershell script

Introduction

Here i am going to share the script for show the details of solution which is deployed in the farm

$SPfarm = [Microsoft.SharePoint.Administration.SPFarm]::get_Local()

# What Solution are we looking for?
$solution = "Solutionname.wsp";

# Get the solutions
$currentSolution = $SPfarm.get_Solutions() | Where-Object { $_.DisplayName -eq $solution; }
$currentSolution;

No comments:

Post a Comment