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



Posts les plus consultés de ce blog

Windows 11 security check with Powershell

SCCM - Erreur 0x87D00664 lors de l'installation de la mise à jour de Juin 2020

Edge Chromium - Les ADMX sont disponibles