mode
Displays system status, changes system settings, or reconfigures ports or devices. Windows commands reference
On Windows
Windows
Displays system status, changes system settings, or reconfigures ports or devices. If used without parameters, mode displays all the controllable attributes of the console and the available COM devices.