Running a query against large numbers of computers

by May 17, 2013

I've been using the following query to check on whether a service is running on a small number of servers –

Get-Service ov* -ComputerName joeserver01

I've just been asked to run this on over 100 servers.  I'm sure there's a way to pipe in a txt file listing all the server names, but can't seem to find a way to do it!  Appreciate any assistance.