we have policy that works and wakes a bunch of machines up via WOL

We are running a batch file to install some updates and after the batch
file has finished I am trying to call a shutdown command, however with no

I was hoping someone has an idea on how to shutdown a machine after you
have woken it up via WOL

the shutdown comand I am calling is c:\windows\system32\shutdown but this
is not working

any ideas?