You can achive this via below script
$computers = Get-Content C:\Users\skverma\Desktop\Servers.txt
foreach ($computer in $computers) {
get-service -Name "wuauserv" -ComputerName $computer -ErrorAction Stop |
select MachineName,DisplayName,StartType,Status
}