PowerShell
PowerShell build runner is designed specifically to run PowerShell scripts.
PowerShell Settings
Option | Description |
---|---|
Powershell run mode | Select the desired execution mode on a x64 machine. |
Working directory | Specify the path to the Build Working Directory. |
Script | Select whether you want to enter the script right in TeamCity, or specify path to a script:
|
Script execution mode | Specify powershell script execution mode. If you've selected 'Execute .ps1 script with "-File" argument' your script should be signed or you should make PowerShell allow execution of arbitrary |
Script arguments | Available if "Script execution mode" option is set to "Execute .ps1 script with "-File" argument". Specify here arguments to be passed into PowerShell script. |
Additional command line parameters | Specify parameters to be passed to |
Development Links
PowerShell support is implemented as an open-source plugin. For development links refer to the PowerShell.