PowerTip: Use PowerShell to Check if Computer Is Up

PowerTip: Use PowerShell to Check if Computer Is Up

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Grt own.. much needed.

  • That's way better than 'ping'! Thanks, Microsoft!