Create a desktop shortcut.To create desktop shortcut you need to right-Click on the desktop and choose shortcut.
In the type the location for the item paste this :

For shutdown
shutdown -s -t 00
As you can see above, this says to shutdown immediately.

For shutdown and restart
shutdown -r -t 00
As you can see above, this says to shutdown and restart immediately.
shutdown -l -t 00

The 00 can be replaced by time delay you want to give before working.. Its in seconds.

SoftwareDeveloper, iot, CreativeTechnologist, MobileDev. Love building stuffs