TFS Build: Run a Powershell script as administrator -


i created build definition our nightly build server. after building project (a windows service), need execute powershell script install , start service. added build step run specific powershell script. installed tfs build agent & visual studio @ (soon be) nightly build server. after running build script got 'exit code 5' seems related missing administratior permissions. if start script admin @ server manually, works fine. user, used agent, got admin permissions.

is there way execute powershell script @ build server build agent / build definition admin permissions?

you need make sure build service account (which can local account, domain account, or local service in workgroup) got admin permission.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -