List of usefull scripts as a sysadmin boy

Monitoring

An easy way to monitor server connectivity during large maintenance operations.

"[MIGRATION] Alive Network Configuration Check"
ForEach ($targetSrv in (Get-Content .\serverlist.txt)) {
    if (Test-Connection -ComputerName $targetSrv -Count 1 -Quiet) {
        "[+] $targetSrv - Conn OK"
    } else {
        "[-] $targetSrv - Conn FAIL"
    }
}