For shutdown I use: %windir%\System32\shutdown.exe -s -t 0 and for restart: %windir%\System32\shutdown.exe -r -t 0
Separate names with a comma.