Don't have Telegram yet? Try it now!
https://rakhesh.com/powershell/use-powershell-to-ping-a-device-and-email-you-when-its-up/
Use PowerShell to ping a device and email you when it's up