To help track disk space on a cluster, here’s a simple batch script that works on Windows. It accepts a list of hostnames, and outputs the size and free space on each server to a log file.Continue reading “Windows Server Reporting – multi-server total and free space logging via batch script”
Check a Windows Service, if it’s not running, start it via batch script
Following a system restart, an overnight shutdown or a system update, some Windows services don’t always come up successfully. This script runs via Windows Task Scheduler and accepts one or more service names.
If the service isn’t running, it attempts to start it – and produces a log file to capture the incident.Continue reading “Check a Windows Service, if it’s not running, start it via batch script”