Powershell

GrantAccessToProcessIdentity – A very handy SharePoint PowerShell command!

I thought I’d do a write up on this one as its something that always catches me out every time I’m configuring a SharePoint farm. If you are setting up services e.g. Excel Services or Office Web Apps then it’s likely you will need to grant the service account running…

Debugging SharePoint code when using PowerShell

Note to self and anyone else who is interested – When trying to debug code – a FeatureReceiver in my case with Visual Studio when you are using PowerShell to actually kick off the event you need to ‘powershell.exe’ process in addition to the normal w3wp worker processes. If you…

Powershell scripts for SharePoint 2010 services – ‘Stop & Start’

We all now know that SharePoint 2010 is resource intensive, especially intensive with its ram usage. I originally installed full blown SharePoint 2010 on my laptop (which has 4gb of ram) only to see most of that ram being used up and none left for visual studio to run. I…