Skip to content

Commit a528ee3

Browse files
Merge pull request #6740 from Xelu86/shutdown_example
[UUF] Shutdown.exe
2 parents 33728fd + b7e39ed commit a528ee3

File tree

1 file changed

+7
-1
lines changed
  • WindowsServerDocs/administration/windows-commands

1 file changed

+7
-1
lines changed

WindowsServerDocs/administration/windows-commands/shutdown.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.topic: reference
55
ms.assetid: c432f5cf-c5aa-4665-83af-0ec52c87112e
66
author: xelu86
77
ms.author: alalve
8-
ms.date: 10/04/2023
8+
ms.date: 03/18/2025
99
---
1010

1111
# shutdown
@@ -112,6 +112,12 @@ To force apps to close and to restart the local computer after a one-minute dela
112112
shutdown /r /t 60 /c "Reconfiguring myapp.exe" /f /d p:4:1
113113
```
114114

115+
To perform a planned shutdown of a device in 10 minutes and capture the reason in the shutdown event tracker with the comment "Scheduled maintenance", type:
116+
117+
```
118+
shutdown.exe /s /t 600 /d p:0:0 /e /c "Scheduled maintenance"
119+
```
120+
115121
To restart the remote computer *myremoteserver* with the same parameters as the previous example, type:
116122

117123
```

0 commit comments

Comments
 (0)