List Of Shutdown Command Switches
No Switches | Display information about the shutdown command, same as typing “-?” |
-i | Display a GUI. It must be the first switch |
-l | Log off the user (This cannot be used on a remote machine: “-m” switch) |
-s | Shutdown the computer |
-r | Restart the computer |
-a | Cancels a system shutdown already in progress |
-f | Forces running applications to close without warning |
-m \\computername | Instruct a remote computer to shutdown (can be used with the restart & abort switches) |
-t xx | Set a given time for shutdown, in seconds |
-c “comment” | Shutdown comment (maximum of 127 characters) |
-d [u] [p]:xx:yy | The reason code for the shutdown: u is the user code p is a planned shutdown code xx is the major reason code (positive integer less than 256) yy is the minor reason code (positive integer less than 65536) |
No comments:
Post a Comment