Script fails with error

Script fails with error

Script fails with error : Incorrect function

I'm trying to deploy a very simple bat file:

powercfg -h off

and i get the error above, whats wrong?