title: output with Header in powershell
body: <p>I am running a Batch file using powershell and then do Little post processing to extract an ID from it. so far so good but i also would like to see it with Header.</p>
  
  <pre><code>$TempCIID = ci-list.bat -node_list server.domain.local | Select-String -pattern "ID: "
  </code></pre>
  
  <p>Output of this line is - ID: bbeaf351b2b071c35f3f984af5a15c2e</p>
  
  <p>then post processing as shown below.</p>
  
  <pre><code>$CIID = $TempCIID -split("ID: ");
  $CIID = $CIID.Trim();
  </code></pre>
  
  <p>as a result i have.</p>
  
  <pre><code>bbeaf351b2b071c35f3f984af5a15c2e
  </code></pre>
  
  <p>where the desired Output is:</p>
  
  <pre><code>ID
  ---
  bbeaf351b2b071c35f3f984af5a15c2e
  </code></pre>
  
  <p>I have tried different Format cmdlet(s) but nothing helps.</p>
  
  <p>any hint?</p>