Windows powershell command in bamboo

Windows Powershell build can be created by adding the task of type – Script.

Configuring the Script task

Below image shows how we can configure the script task. Script location can be selected as inline or a file. If we select the inline script location, we need to give the commands to be executed in the script body box. In below example – we have executed simple ls command withing powershell which displays directories and files in windows. Notice that we have ticked the checkbox saying Run as Powershell script
Complex problems, Simple Solutions