Download installed farm solution in
Add-PsSnapin Microsoft.SharePoint.PowerShell
$frm = Get-SPFarm
$file = $frm.Solutions.Item("wsp").SolutionFile
$file.SaveAs("D:\Wsps\wsp")
Remove Orphaned installed Farm Feature
In Power Shell run below command and get feature IDs
$feature = Get-SPFeature | ? { $_.Scope -eq $null }
$feature
In Command prompt run the sts command and remove that feature by its id.
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN
stsadm -o uninstallfeature –id <GUID> -force
No comments:
Post a Comment