The command is: vmware-cmd
So start of by running that to see what your options are, or even you can man vmware-cmd.
OK, so now the juicy stuff:
vmware-cmd /<path to VM directory>/server.vmx getstate
vmware-cmd /<path to VM directory>/server.vmx start
vmware-cmd /<path to VM directory>/server.vmx stop
vmware-cmd /<path to VM directory>/server.vmx stop hard
You get the idea 🙂