Ping your infrastructure and send a desktop alert with Powershell


This script runs and loads the contents of a file to recover a list of devices to ping. If the device does not respond, an alert is issued on the desktop. In addition, a log file containing the list of available perimeters is created in the C:Logs directory.

Github link : Script

Script exécution

powershell.exe -executionpolicy ByPass -file C:\Temp\PingInfra.ps1


For each computer that is not available, you received a desktop alert


A log file is created to the repository C:\Logs folder



Popular posts from this blog

Windows 11 security check with Powershell

How to reset computer in OOBE mode

Windows Autopilot error code 801c03ed