Windows command lines

powercfg.exe /hibernate on
 * Enable hibernation

powercfg.exe /hibernate off
 * Disable hibernation