Configure Service Application permissions in SharePoint 2010 using Powershell

I was on site with a customer last week and was tasked with tidying up their infrastrucutre build scripts which were written in Powershell.  The scripts themselves are pretty awesome, and if you are looking at doing this yourself, grab the AutoSPInstaller scripts from CodePlex: http://autospinstaller.codeplex.com/ One of the issues with the scripts as they…

1