SharePoint 2007 Feature Activation Commandment

Thou shalt make sure thou art a Site Collection Administrator when running STSADM -o ActivateFeature that creates new sites or else thou art doomed to suffer painfully with Access Denied errors and half-baked sites. On 2011-05-27. on a SharePoint 2007 SP2 project I was working on, the Farm Administrator was running a series of STSADM commands […]

Running PowerShell script file from BAT file

I’ve seen a lot of information about how to run a PowerShell script from inside a BAT file, but most seem very outdated, using the “&” (ampersand) character together with a difficult to remember set of single and double quotes.   For me at least, the simple answer is something like the following, where we assume […]