First of all, it is necessary to have the Autohotkey program.
Second, create an .ahk file and write the following:
Send, {LWin Down}d{LWin Up}
Sleep 1000
Send, !{f4}
Sleep 1000
Send, {Enter}
once done, just need to create the command in triggercmd.
I have done this because the example commands did not allow me to turn on the PC with WAKE ON LAN.