Console get_maxduration command implementation