So to do some testing on a SBS 2011 I was building a brand new one.. and 47 gazillion updates later and about 40 psconfigs (okay more like three so far) at about the second time doing a psconfig command I realized there has to be a better way.
So whether you are a command line person, a bat file person a powershell person….what I did for me since I’m a .bat command line gal, is I stuck a little .bat file in the Windows\system32 folder
The name of the file is psconfigbat.bat
The contents of psconfigbat.bat is as follows:
CD\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
That’s it. Save it as a .bat file and dump it into the c:\windows\system32 folder just because that’s where you end up when you runas admin at the command com icon.
When I run a Sharepoint update, I then go to the command com icon on the start menu, right mouse click run as admin and then type in psconfigbat and hit enter
The command then does it’s thing.