Hi Matt,
what if you try the otehr way arround, like suggested here:
One-liner : Test-Connection for multiple computers in Powershell
https://gallery.technet.microsoft.com/scriptcenter/One-liner-Test-Connection-373858ef
get-content servers.txt | % {new-object psobject -property @{ComputerName=$_; Reachable=(test-connection -computername $_ -quiet -count 1)} }
Here another one, a bit more sophisticated (more checks):
PowerShell Tip of the Week: Check connectivity to multiple servers
check-connectivity-multiple-servers-specific-port-using-powershell
Does this help?
Regards,
Stoyan