-
Bug
-
Resolution: Low Engagement
-
Low
-
None
-
None
-
3
-
Severity 3 - Minor
-
See more details there
https://answers.atlassian.com/questions/239823/invoke-command-in-powershell-script-doesn-t-work-when-invoke-it-from-bamboo-task-only
Steps to reproduce
Create Script task with PowerShell interpreter
$session = New-PSSession Invoke-Command -Session $session -ScriptBlock { Start-Process "calc.exe" }
Start agent on windows host under Administrative account
Add requirement to created plan to be sure it's executed at started Windows agent
Start plan
Expected: calculator window
Actual: nothing happened
[BAM-14097] "Invoke-Command" in powershell script doesn't work when invoke it from bamboo task only
Resolution | New: Low Engagement [ 10300 ] | |
Status | Original: Gathering Impact [ 12072 ] | New: Closed [ 6 ] |
Labels | New: cleanup-seos-fy25 |
Status | Original: Needs Triage [ 10030 ] | New: Gathering Impact [ 12072 ] |
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1441021 ] | New: JAC Bug Workflow v3 [ 3384573 ] |
Status | Original: Open [ 1 ] | New: Needs Triage [ 10030 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Support reference count | Original: 2 | New: 3 |
Support reference count | New: 2 |
Environment | Original: https://qoiprdev.atlassian.net/ |
Description |
Original:
See more details there
https://answers.atlassian.com/questions/239823/invoke-command-in-powershell-script-doesn-t-work-when-invoke-it-from-bamboo-task-only h2. Steps to reproduce Create Script task with PowerShell interpreter {code} $session = New-PSSession Invoke-Command -Session $session -ScriptBlock { Start-Process -FilePath "C:\Windows\system32\calc.exe" } {code} Start agent on windows host under Administrative account Add requirement to created plan to be sure it's executed at started Windows agent Start plan Expected: calculator window Actual: nothing happened |
New:
See more details there
https://answers.atlassian.com/questions/239823/invoke-command-in-powershell-script-doesn-t-work-when-invoke-it-from-bamboo-task-only h2. Steps to reproduce Create Script task with PowerShell interpreter {code} $session = New-PSSession Invoke-Command -Session $session -ScriptBlock { Start-Process "calc.exe" } {code} Start agent on windows host under Administrative account Add requirement to created plan to be sure it's executed at started Windows agent Start plan Expected: calculator window Actual: nothing happened |
Description |
Original:
See more details there
https://answers.atlassian.com/questions/239823/invoke-command-in-powershell-script-doesn-t-work-when-invoke-it-from-bamboo-task-only |
New:
See more details there
https://answers.atlassian.com/questions/239823/invoke-command-in-powershell-script-doesn-t-work-when-invoke-it-from-bamboo-task-only h2. Steps to reproduce Create Script task with PowerShell interpreter {code} $session = New-PSSession Invoke-Command -Session $session -ScriptBlock { Start-Process -FilePath "C:\Windows\system32\calc.exe" } {code} Start agent on windows host under Administrative account Add requirement to created plan to be sure it's executed at started Windows agent Start plan Expected: calculator window Actual: nothing happened |