title: Get-Service on multiple remote machines
body: <p>I can only get the command to return the services on the first computer in the text file.
  Is there a better way than for-each for this task? </p>
  
  <pre><code>Get-Service *vault* -ComputerName (Get-Content c:\users\sean\desktop\js.txt) | select name,status,machinename | sort machinename | format-table -autosize
  </code></pre>