Tuesday, August 2, 2011

PowerShell Command

Add Solution:
Install-SpSolution -Identity "VisualWebPartProject1.wsp" -WebApplication "URL" _GACDeployement

Feature Command
Install-SPFeature "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\Feature name"

Uninstall-SPFeature "459FF807-10D1-41d4-ACA1-EDFC3BBFFB0B"

update-SPFeature "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\BPCL Master Feature"

Backup command:
Backup-SPSite "http:///msd/AU" -path "E:\Backup\Backup\MSD\AU.bak" -Force -DatabaseServer SQL1\SPSQLLOCALSERVER -DatabaseName WSS_Content_MSD_AU

No comments:

Post a Comment