set shut down time in windows 10 code example Example: shutdown timer windows 10 shutdown -s -t SECONDS