title: PSComputerName empty when using Format-Table
body: <p>If I use simple command:</p>
  
  <pre><code>$pcname = "Server2"
  Invoke-Command -ComputerName $pcname -ScriptBlock {
      Get-Service | Where Name -CLike "Servi*"
  }
  </code></pre>
  
  <p>I get service <code>Name</code>, <code>Description</code>, <code>Status</code>, <code>PSComputerName</code>.</p>
  
  <p>If I try to format columns:</p>
  
  <pre><code>$pcname = "Server2"
  Invoke-Command -ComputerName $pcname -ScriptBlock {
      Get-Service | Where Name -CLike "Servi*" |
          Format-Table -Property Status,Name,DisplayName,PSComputerName -AutoSize
  }
  </code></pre>
  
  <p><code>PSComputerName</code> is coming as an empty value.</p>
  
  <p>If I try to add custom property, I cant reference variable value, column is still empty:</p>
  
  <pre><code>$pcname = "Server2"
  Invoke-Command -ComputerName $pcname -ScriptBlock {
      Get-Service |
          Where Name -clike "Servi*" |
          Format-Table -Property Status, Name, DisplayName,
              @{Name='MachineName';Expression={$pcname}} -AutoSize
  }
  </code></pre>
  
  <p>How do I get <code>PSComputerName</code> when using formatting or how do I reference variable <code>$pcname</code> inside the expression?</p>