You can make a .bat file for your power-down commands and Point your 'Shutdown" command to the bat file to shutdown your pc.
To make such a .bat file, open notepad
Copy this to notepad
shutdown.exe /s /f /t 00
Save the file anywhere with a .bat extension. An example would be Shutdown.bat
For hibernate, the command is
shutdown.exe /h /f /t 00