how to get computer to shut down on a timer code example Example: windows shutdown command timer shutdown -s -t SECONDS