PowerTip: Use PowerShell to Check if Computer Is Up
Summary: Learn how to use Windows PowerShell to quickly check to see if a computer is up.
How can I use Windows PowerShell to see if a computer is up?
Use the Test-Connection cmdlet to send a ping (icmp packet) to the remote computer.
If you specify the –Quiet parameter, it returns only True or False.
Test-Connection -BufferSize 32 -Count 1 -ComputerName 192.168.0.41 -Quiet