Simplicity is the Ultimate Sophistication
This set of documentation describes the Windows Commands you can use to automate tasks by using scripts or scripting tools.
All supported versions of Windows and Windows Server have a set of Win32 console commands built in.
Links: