Get-Content "\\fs01\Align\Public\OLEGSQLSWITCH\Servers.txt" | ForEach-Object{ if(Test-Connection $_ -Count 1 -quiet){ "$_ Up" }else{ "$_ Down" } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter