A simple PowerShell script that checks if servers are online or offline.
Reads server list from a CSV file, pings them, and updates their status back in the same CSV.
- Import server list from
EnvCheckerList.csv - Ping each server
- Update
LastStatusfield in the CSV - Print changes (e.g., "Server1 is now online")
# Run the script from PowerShell
.\EnvironmentChecker.ps1ServerName,LastStatus
Server1,Success
Server2,FailureMIT