A short bash script that reports hostname, uptime and root filesystem usage, and then writes a line through the same log marker the PowerShell scripts use. It is the smoke test for the Linux execution path: the same run history, the same logging convention, over SSH instead of WinRM.
bash
#!/bin/bash
# Test script for the new Linux automation path
echo "Hostname: $(hostname)"
echo "Uptime:"
uptime
df -h /
echo "<WRITE-LOG = \"*Linux test script completed on $(hostname)*\">"Run it across your fleet
This script runs as-is on a single host. Paste it into ServerEngine to schedule it, run it on a whole server group in parallel, and keep the credentials out of the file — see the scripts documentation and the credential store.
More in System Administration
Generate a Random Password with PowerShell
2026-08-17Get the Public IP Address with PowerShell
2026-08-17Send a Wake-on-LAN Magic Packet with PowerShell
2026-08-17Force a Windows Shutdown with PowerShell
2026-08-17Download and Extract Files with BITS in PowerShell
2026-08-17Automated System Information Gatherer Script
2025-01-14Ready when you are.
Try ServerEngine free for 7 days.