SetSystemPowerState(False, True); //Forces the system downSetSystemPowerState(True, False); //Makes a "soft" off