Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14097

"Invoke-Command" in powershell script doesn't work when invoke it from bamboo task only

    • Icon: Bug Bug
    • Resolution: Low Engagement
    • Icon: Low Low
    • None
    • None
    • Windows

      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

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]

            Atlassian Update - 9 April 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Bamboo Data Center, please check our public roadmap.

            Kind regards,
            Bamboo Data Center

            Ishwinder Kaur added a comment - Atlassian Update - 9 April 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Bamboo Data Center, please check our public roadmap . Kind regards, Bamboo Data Center
            Ishwinder Kaur made changes -
            Labels New: cleanup-seos-fy25
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1441021 ] New: JAC Bug Workflow v3 [ 3384573 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            SET Analytics Bot made changes -
            Support reference count Original: 2 New: 3
            SET Analytics Bot made changes -
            Support reference count New: 2
            Alexey Chystoprudov made changes -
            Environment Original: https://qoiprdev.atlassian.net/
            Alexey Chystoprudov made changes -
            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

              Unassigned Unassigned
              11ce614cbefc Andrey AndreySh
              Affected customers:
              8 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: