shutdown in windows 10 code example Example 1: shutdown timer windows 10 shutdown -s -t SECONDS Example 2: shutdown in 10 minutes windows cmd shutdown –s –t