commandline shutdown timer windows code example Example: windows shutdown command timer shutdown -s -t SECONDS