Sunday, 11 March 2012

SharePoint 2010 Automated Patcher

SharePoint Patching is a pain especially when you have 29 production servers and 60 non production servers like we do.  I have written an automated patcher to cut the operational overhead of SharePoint patching.  I am running the first test as I write this and it is looking really positive.  I should be able to get a couple up here by Wednesday I would say.

How it works, you put your Cumulative Update in the CU directory and run install.bat.  This is what it does.

  • Checks to make sure you are past SP1 if you are not it installs SharePoint Foundation / Server SP1
  • Checks to see if Office Web Apps are installed it will install SP1 for Office Web Apps if you have it installed
  • Checks to see what CU's you have put in the directory and installs them one after the other
What it does not do:


  • PSCONFIG Upgrade that will be a separate script
  • Only supports the two latest CU's, if people would like previous CU's post a comment below and I will write the code
  • Drain Stop the node from the TMG cluster (I am going to add this in next release)
  • Check to see if you are a Farm admin  (I am going to add this in next release)
Post a comment if you want additional functionality

<UPDATE>  Got a bit held up with this due to other priorities.  Doing the first release into production this afternoon if that is successful.  I will hopefully have something up here tomorrow</UPDATE>

1 comment:

  1. This is a great idea and could help out a lot of us SharePoint admins. I look forward to giving it a try out for myself.

    ReplyDelete