title: Azure DevOps Pipeline decorator won't work with "pwsh" command
body: <p>I have a pipeline decorator:</p>
  <pre><code>steps:
  - task: CmdLine@2
    displayName: 'Decorator-injected Task'
    inputs:
      script: echo This is from the Decorator for Build
  
  - ${{ if eq(variables['injectDecorator'], 'true') }}:
    - task: CmdLine@2
      displayName: 'Decorator-injected Task'
      inputs:
        script: echo Trying to get the conditional to work
    - task: PowerShell@2
      displayName: 'Run my script (injected from decorator)'
      inputs:
        targetType: 'inline'
        script: |
          write-host &quot;Hello from my pipeline decorator&quot;
    # - pwsh: |
    #     write-host &quot;this will not fire&quot;
  </code></pre>
  <p>If I uncomment the last two lines none of the decorator will fire. I'd like to understand why including the pwsh command breaks the whole decorator?</p>