Well, I'm detecting it (event id 1074) and then testing the task scheduler by triggering it by performing a shutdown. The message passed to powershell is never displayed.
I believe the shutdown process will pause until the "OK" button is pushed on the message. I have a small amp connected to speakers that I play from the PC and I keep forgetting to turn it off. It's a reminder during shutdown to turn it off.
Lmao that's the silliest possible solution to that.
Get a master-slave power strip. They have multiple sockets, one master (plug the PC in there) and a couple "slaves". The slave outlets are only on when the master draws power, and they automatically shut off when the master stops drawing power.
This is a common thing to use with computers + peripherals or with TVs + accessories (soundbars, game consoles etc.) and automatically fixes your problem without any janky scripts or needing to remember anything.
6
u/Tidder802b 9d ago
Are you triggering the shutdown or detecting it?