While working with for a client, whom project previous vendor left in middle without proper documentation, project plan & updated source code. Only option left for me is to download deployed WSP Solutions from Production farm and go through deployed Dll through tools like ILSpy etc.
To download we used following powershell commands:
$farm=Get-SPFarm
$file=$farm.Solutions.Item("DEPLOYED_WSP_NAME.wsp").SolutionFile
$file.SaveAs("C:\SomeDownloadLocation\DEPLOYED_WSP_NAME.wsp...
Sunday, December 22, 2019
Download deployed WSP Solutions from SharePoint farm
By kamig
11:08 PM
Power Shell,
SharePoint 2013,
SharePoint 2016 upgrade,
SharePoint 2019
Leave a Comment
Read More
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered
While trying to run SharePoint powershell on vendor VM, found this issue: "
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered"
Solution:
We need to run with domain account by which we setup SharePoint farm and run following command:
Add-SpShellAdmin -username Domain\username.
Above command set appropriate permission automatically and this can be verified by Get-SPShellAdmi...