PowerShell Command List used in SharePoint 2010
PowerShell Command which are common in use for a SharePoint Developer. BackupBackup-SPSite http://oldsite -Path C:backupsitename.bak RestoreRestore-SPSite http://newsite -Path C:backupsitename.bak Add WSPAdd-SPsolution “C:File1.wsp” Update WSPUpdate-SpSolution -Identity File1.wsp -LiteralPath “C:File1.wsp” -GACDeployment Install WSPInstall-SPSolution -Identity “File.wsp” -WebApplication “http://siteurl” EnableFeatureEnable-SPFeature -identity “MyFeature” -URL “http://siteurl” Disable FeatureDisable-SPFeature -identity “MyFeature” -URL “http://siteurl” InstallFeatureInstall-SPFeature -path “MySPFeature1” Uninstall FeatureUninstall-SPFeature -Identity “MySPFeature1” Get … Read more