TFS Build: Run a Powershell script as administrator TFS Build: Run a Powershell script as administrator powershell powershell

TFS Build: Run a Powershell script as administrator


You just need to make sure your build service account (which can be a local account, a domain account, or Local Service in a workgroup) also got admin permission.