Work from Linux Bamboo server to execute PowerShell script on remote Windows server

Hi,

  1. Will PowerShell Task work on Linux Bamboo server?
  2. Will it be able to execute commands on a remote Windows server either by inline commands or executing a script that is on the remote server?

thanks,

Chris

3 answers

1) If you have Windows Bamboo Agents, you can use them to run PowerShell scripts within a build regardless of the OS of the Bamboo Server itself.

2) Are you trying to run PowerShell scripts on a remote computer other than a Bamboo Agent?  Like as part of a deployment?  That should be possible use the SSH task or something like that.

The two agents are both local, so, no, they would have to be linux since this Bamboo instance is on linux. So it appears I would need to have a remote agent on the Windows server where I could use "PowerShell" task, or use an SSH task.

thanks

Yes, you need a Windows Bamboo agent to use PowerShell Task.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,077 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot