Ping your infrastructure and send a desktop alert with Powershell

Presentation

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

Result

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

Alert_Ping_Infra

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


Log_Ping_Infra

Popular posts from this blog

How to implement Applocker with Microsoft Intune

How to reset computer in OOBE mode

Microsoft Intune, Uninstall Win32 app with the company portal