set timer for shutdown windows 10 code example Example: windows shutdown command timer shutdown -s -t SECONDS