Remove Solution from the Central admin using Poweshell

Add-PsSnapin Microsoft.SharePoint.Powershell –ErrorAction SilentlyContinue


Uninstall-SPSolution –Identity bamboo.logging.v1.wsp

Start-Sleep -Seconds 60

Remove-SPSolution –Identity bamboo.logging.v1.wsp


Uninstall-SPSolution –Identity basicwebpartssingle.wsp

Start-Sleep -Seconds 60

Remove-SPSolution –Identity basicwebpartssingle.wsp



Uninstall-SPSolution –Identity contentsliderwebpart.wsp


Start-Sleep -Seconds 60

Remove-SPSolution –Identity contentsliderwebpart.wsp


Uninstall-SPSolution –Identity mydocstreeview.wsp

Start-Sleep -Seconds 60

Remove-SPSolution –Identity mydocstreeview.wsp


Uninstall-SPSolution –Identity sampletodeployapage.wsp


Start-Sleep -Seconds 60

Remove-SPSolution –Identity sampletodeployapage.wsp

Write-Host "Finished! Press enter key to exit." -ForegroundColor Green
Read-Host

No comments:

Post a Comment