Commandes | PowerShell |
Add solution | Add-SPSolution c:\code\SharePointProject\bin\debug\MonProjetSP.wsp |
Install –> Deploys, | |
Mise a jour de la solution | Update-SPSolution –Identity MonProjetSP.wsp –LiteralPath c:\code\SharePointProject\bin\debug\MonProjetSP.wsp –GACDeployment |
Uninstall –> Retracts | Uninstall-SPSolution –Identity MonProjetSP.wsp –WebApplication http://sitecollection/ Remove-SPSolution –Identity MonProjetSP.wsp |
Pour faire des scripts des commandes powershell, on peut utiliser ISE power Shell qui se trouve dans : C:\Windows\System32\WindowsPowerShell\v1.0, il faudrait juste installer la feature windows correspondante : Windows Power Shell integrating scripting environement ISE
Le reste des commande PowerShell se trouve sur le site microsoft