need to run powershell command in linux. powershell core is installed but if i give pwsh as a command in the tasks, the process is not ending
Hi @Raghavan,
Please check if the folder housing pwsh is in your PATH.
Also, confirm the name - i'm seeing it installed in
/usr/bin/powershell
yes, i have included the path as an executable in the tasks like /usr/bin/pwsh and try to using it in bamboo tasks.
@Raghavan,
Try using a Bamboo script task instead
#!/usr/bin/env pwsh Write-Host "Using Powershell $($PSVersionTable.PSEdition) v$($PSVersionTable.PSVersion)"
Thanks for the prompt reply..
however we are trying to run few powershell scripts using powershell core installed in amazon linux... any help is appreciated.
Thank you.
It looks like you're new here. Sign in or register to get started.