UPS – How to Make Mac Shutdown a Windows PC When UPS Signals Power Loss

ups

I have an APC UPS connected to my iMac that's set to shutdown after 1 minute of running on UPS power. I also have a Windows 10 PC plugged into the UPS that I'd like shut down as well. Is there a way to send a shutdown command from my Mac to the Windows 10 PC telling it to shut down as well when a power loss is detected?

Best Answer

Take a look at this SuperUser question How can I shutdown a Windows machine remotely from OS X?. It recommends installing and using the net command:

net rpc shutdown -I xxx.xxx.xxx.xxx -U username%password

You can then use a tool like Power Manager to trigger the net command when your UPS detects the power failure.

Shut down event when UPS drops to 30%

I work on Power Manager, so feel free to ask technical questions.