windows 10 shutdown commmands code example Example: shutdown in 10 minutes windows cmd shutdown –s –t <seconds>