Sunday, 11 December 2016

SharePoint Solution checker

Here is a nice little script I use to audit Solutions:


#This loads the SharePoint assemblies


asnp *sh* -ea 0

#Start solution audit

$allsolutions = (get-spsolution).SolutionID

foreach
($solution in $allsolutions)
{
$filteredfeaturelist = get-SPFeature | where {$_.SolutionID -eq "$solution"}
write-host -background Blue Name = $filteredfeaturelist.DisplayName
write-host -BackgroundColor Green -ForegroundColor Black Version = $filteredfeaturelist.ReceiverAssembly
write-host ""

}

No comments:

Post a Comment