How to get wsp/dlls/code from SharePoint deployed solution?

How to get wsp/dll/code from SharePoint deployed solution?
Please do not forget to comment if this helps.

Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$farm = Get-SpFarm
$file = $farm.Solutions.Item("wsp_name.wsp ").SolutionFile
$file.SaveAs("D:\Temp\wsp_name.wsp")

reanme .wsp to .cab and extract DLL
now you can use http://ilspy.net/ to see whats inside DLL.

Enjoy


Comments

Popular posts from this blog

Chrome Extension to auto refresh Power BI report.

Dataverse D365 REST Web Api using client secret From Postman or Power Automate desktop (PAD) .

Harnessing the Power of AI with Microsoft Power Automate