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

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

Chrome Extension to auto refresh Power BI report.

How to call SharePoint online rest APIs using postman?