The batch file would send out a management command using a domain administrator's credentials.
This only works with Windows servers and workstations where the administrator's credentials are known, and where your network policy allows remote managment.
APC's software can run on Windows, DOS, Netware, Linux, AIX, etc.
Also, the batch file approach assumes that the one machine is running properly. It's a single point of failure. You can't test connectivity.
Also, some models of UPS have multiple groups of outlets so you can perform load shedding. For instance...lose the backup servers first, then the print servers, then file servers. Keep the Domain Controller, router, switches, and cameras up until all is lost.
You can't script that scenario.
For $300, you'll save the hassle when someone asks why the server was taken down hard instead of a orderly shutdown. Hard to explain that you saved $300 by writing a BAT file.
:)