Example usage for shutdown.
shutdown /r /t 60Shut down, restart, sign out or schedule a system action.
shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example usage for shutdown.
shutdown /r /t 60| Option / clause | Description |
|---|---|
/s, /r, /l, /h | Shut down, restart, sign out or hibernate. |
/t <seconds> | Set a delay before the action. |
/a | Abort a pending action during its countdown. |
/m \\<computer> | Target a remote computer. |
/f | Force applications to close; unsaved work can be lost. |
/i | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/sg | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/g | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/p | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/hybrid | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/fw | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/e | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/o | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/m <computername> | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/t <xxx> | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/d [p \ | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/c <comment> | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/? | Display command help or the supported command-line usage. |
/d | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
/c | Microsoft documents this switch; use the linked reference for accepted values, effects and version limits. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.