Ping with PowerShell Post author:pkhabazi Post published:September 20, 2012 Post category:PowerShell Post comments:0 Comments If you want to ping a device trough PowerShell then you can use the script below: $Hostname = "HOSTNAME OR IP" $Ping = New-Object System.Net.NetworkInformation.Ping $Ping.Send($Hostname) -Pouyan Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window)Like this:Like Loading... Tags: Powershell Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Read more articles Previous PostThe WinRM client received an HTTP server error status (502) Next PostExport thumbnailphoto from AD to jpg for all users You Might Also Like Installing PowerShell on Server Core February 14, 2012 PowerShell – Disconnected mailboxes are not yet marked as disconnected August 4, 2012 PowerShell – WmiObject and a corrupt repository March 21, 2013 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Notify me of follow-up comments by email. Notify me of new posts by email. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.