Open the SharePoint Management Shell, and then run as Administrator. Execute the following command
1. Adding WSP and Installation
Add-spsolution-literalpath "C:\DEPLOYRESOURCE\WSP\TEST.WSP"
Install-spsolution-identity "test.wsp"-webapplication "http://domain:port/"-gacdeployment-force
Remove-webapplication "http://domain:port/" if it is a resource-free installation
2. Update wsp: update-spsolution-identity splistupdatead.wsp-literalpath "D:\BackupOfBackup\Release_20141010\ WSP\SPLISTUPDATEAD.WSP "-gacdeployment
3. backup wsp: get-spsolution | Where {$_. Name-eq "SPLISTUPDATEAD.WSP"} | foreach-object{$_. Solutionfile.saveas ("D:\Backwsp\" +$_. Name)}
4. To remove the WSP, you need to solution>retract the WSP in Ca>system Settings>farm before executing the PowerShell script below
Remove-spsolution-identity "HKEXSITEWAKEUPTIMERJOB.WSP"-confirm: $false
5. Remove the timer job
$job = Get-sptimerjob-id 3219759c-c748-444c-9ed7-bb3afb17fc9f
$job. Delete ()
6. Query the timer job
Get-sptimerjob | where {$_.name-like "*hkex*"} |ft Id,name
7. Activating feature
Enable-spfeature-identity "Sharepointwebpartproject_sharepointwebpartfeature"-url http://www.contoso.com
8. Disable feature
Disable-spfeature-id 1563deb1-0c37-481c-9463-f3581e720897-url Http://www.contoso.com-Url http://www.contoso.com
PowerShell Operations SharePoint Command set