You want 1 mouse click can turn off the computer or restart your computer. The following article provides detailed instructions on how to create a shortcut icon, boot quickly on the screen.
1. How to Create Create Shortcut Icon Shutdown Shutdown on Desktop
Step 1: Right-click the Desktop and select New -> Shortcut

Step 2: A dialog box appears, enter Shutdown.exe -s -t 00 (where 00 is the time you want to shutdown, if you want to click after a period of time, change the value other than 00 with the calculated time) in seconds) -> click Next:

Step 3: Enter the name for the Shortcut you want to create, for example, here named shutdown -> click Finish:
After clicking Finish, you have created a computer shutdown shortcut, but the interface of the Shutdown button is not beautiful, please change the icon for the shortcut to make a right-click on the shortcut to shutdown -> Properties
Click Change Icon to select the icon for the shortcut
The dialog box appears icon selection for Shortcut -> Click and select OK
As a result, you have created the icon for the Shutdown button . Now, if you want to shutdown, you just need to double click on this shutdown icon without using many operations
2. How to create Shortcut Restart, Sleep on Desktop
Similar to creating Shortcut Shutdown only with Restart you enter the command line:
Shutdown.exe -r -t 00
Doing the same thing as creating Shortcut Shutdown results in you creating a Restart button
Similarly when creating Shortcut Shutdown, to create Shortcut Sleep you enter the command
rundll32.exe powrprof.dll SetSuspendState 0.1,0
Above is a detailed guide on how to create Shortcut Shutdown, Restart, Sleep on Desktop. Good luck!