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.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see if a computer is up?

Hey, Scripting Guy! Answer 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 -Quiet


Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon