|
Navigation: Actions > Miscellaneous > PowerShell Action |
![]() ![]()
|
The PowerShell Command action creates a step to run a PowerShell script. Visual Build starts and monitors the PowerShell and captures any output and logs it to the Output pane (and a log file if enabled).
This action has been tested with PowerShell versions 1 thru 3 and may work with other versions as well.
Note: By default, PowerShell will not execute local unsigned scripts, and temporary script files created by this action are not signed. To enable PowerShell to execute local unsigned scripts, start PowerShell (running as admin) and enter the command Set-ExecutionPolicy RemoteSigned.