In Windows XP, the new version of shutdown.exe (the tool used to shutdown/reboot from the command line) contains support for tracker descriptions via the -d (description/reason code) and -c (comment) attributes. For example, the command
shutdown -t 10 -d up:125:1 -c "Testing"
shuts down the system in 10 seconds, with a description of user-defined, planned, major reason 125, minor reason 1, and a comment of "Testing.
0 comments
Hide comments