PowerTip: Use PowerShell to Check if Computer Is Up

ScriptingGuy1

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 192.168.0.41 -Quiet

0 comments

Discussion is closed.

Feedback usabilla icon