Get-Content "\\fs01\Align\Public\OLEGSQLSWITCH\Servers.txt" | ForEach-Object{ if(Test-Connection $_ -Count 1 -quiet){ "$_ Up" }else{ "$_ Down" } }
Get-Content "\\fs01\Align\Public\OLEGSQLSWITCH\Servers.txt" | ForEach-Object{ if(Test-Connection $_ -Count 1 -quiet){ "$_ Up" }else{ "$_ Down" } }