Your PowerGUI Community: Simplify your PowerShell related GUI and script editing needs.
A script to remotely shutdown Windows (RPC), Linux (SSH), and FreeBSD (SSH) machines when the UPS changes to battery. Uses psexec, psshutdown, and plink to complete the connections. This is ideal for shutting down machines that must be segregated on different subnets and can't use SNMP. Remote OS set up instructions are included and are meant to be as minimal as possible. Has a great generic function for running any program on the remote host and capturing the stdout.