I'm working on creating a website in SharePoint. I need a way to automate what I have done until now. For example I have created a web application and two site collections and bla bla.

Now I have two ways : Write a Powershell script to do all these stuff for me, OR Develop a farm solution for my environment setup.

I don't know which way is the best. Any suggestion ?

2 Answers 2


If you are simply creating web applications, site collections, etc., I would use a PowerShell script. I would only create a custom solution if you are adding custom content, such as web parts, master pages, etc.


I would use code any day in the week, but not create a solution, just a SharePoint Console application (CKSDev template). I am just more comfortable using a good development environment and object oriented approach.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.