Hi,
thanks,
Chris
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.
Well, shouldn't the build plan task be smart enough to not have windows powershell drop down available for a Linux Agent?
I want to notify you that PowerShell Task Addon supports Linux now (you just need to install pwsh). So answer on both questions is yes.
Build plans know nothing about agents. Compatibility with agents is checked later when a build is about to be run. Then only appropriate agents are selected.
BTW, if you need running PowerShell on Linux PowerShell Task Addon supports it.
Thank you so much! Sorry to complain about a thread that's 3 years old without doing my homework.
It looks like you're new here. Sign in or register to get started.