title: How do I include computername in output
body: <p>PS newbe here...</p>
  
  <p>How do I get the remote computer name to appear in the output?</p>
  
  <pre><code>$computer = "PC3090-121","APCD02" 
  Get-WmiObject Win32_Printer -ComputerName $computer |
    Select-Object SystemName,Name,Local |
    Format-Table -AutoSize
  </code></pre>
  
  <p>I've tried including -computername, computername, %computername% in the Select and format-table -properties - no joy...</p>
  
  <p>My searches have come up empty, or I couldn't understand them.</p>
  
  <p>------------------------------ answer:</p>
  
  <pre><code>$computer = "PC3090-121","APCD02" 
  Get-WmiObject Win32_Printer -ComputerName $computer |
    Select-Object  __Server, Name, Local |
    Format-Table -AutoSize
  </code></pre>