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
Try using a Bamboo script task instead
#!/usr/bin/env pwsh
Write-Host "Using Powershell $($PSVersionTable.PSEdition) v$($PSVersionTable.PSVersion)"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.