Aaron Saikovski's Technical Blog

Covering all aspects of Microsoft Technology

SharePoint 2010 Solution Deployer–V1.1

SharePoint 2010 Solution Deployer–V1.1

  • Comments 1

I have made updates to my very useful PowerShell solution deployer and though it would be useful to others, so here it is.

I got tired of typing all the PowerShell deployment commands each time for a .WSP, so I bundled them up into a simple cmdlet that does all the work for you including waiting for solution deployment timer jobs to finish.

Its as easy as issuing the following PowerShell commands:

#Deploy solution
./solution.ps1 -solutionname test.wsp -Add $true
./solution.ps1 -solutionname test.wsp -Remove $true
./solution.ps1 -solutionname test.wsp -upgrade $true


#Deploy & activate feature
./Feature.ps1 -FeatureId Test_Feature1 -SiteUrl http://Site1 -Add 
./Feature.ps1 -FeatureId Test_Feature1 -SiteUrl http://Site1 -Remove
./Feature.ps1 -FeatureId Test_Feature1 -SiteUrl http://Site1 -Get 

The code can be found on my skydrive here.

Make sure you refer to the usage.txt file on how to use it etc.

This doesn't currently support sandboxed solutions but will be coming soon Smile

Email me with any feedback or questions.

  • Nice one.. It really saves deployment time.

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 7 and 5 and type the answer here:
  • Post