How can I change the default sleep timeout from command line?

PowerCfg - Windows CMD -

- looks like

/Change settingvalue

/x setting value

Modify one of the following settings in the current power scheme:

monitor-timeout-ac minutes

monitor-timeout-dc minutes

disk-timeout-ac minutes

disk-timeout-dc minutes

standby-timeout-ac minutes

standby-timeout-dc minutes

hibernate-timeout-ac minutes

hibernate-timeout-dc minutes

Setting any value to 0 will set the timeout=Never

AC settings are used when the system is on AC power. DC settings on battery power.