I would like to see how my PC shutdown?
Was it due to Power Failure, Software Updates caused Reboot, User click on Shut down, etc.
Where do I find this type of information?
I want to write a program, that when the coputer starts back up sends an email but only if it was a power failure that caused it to shutdown.
I have the computer set to boot when power is returned. I don't want the email if it was due to Software Update, or User issued restart / shutdown. (Clean Shutdown).