I am making a fast installer script for Microsoft Windows OS's It basically replicates what Windows Setup does but in a fraction of the time, which is useful if you do a lot of virtual machines/testing. It also has extra options for configuring storage devices which are simply not present in the Windows Setup.
What I need is a some kind of software that is on the CD along with my script which kind of acts like windows PE but only includes the command prompt, which my script will automatically be loaded into as soon as the computer boots from the CD. When the script is finished installing Windows, it will restart the computer and Windows will start.
A simple way to think of it is as if you are booting a batch script that installs Windows, except obviously there needs to be an tiny OS for to interpret the script.
I have considered the following options:
a DOS startup disk - not feasible because it cannot run certain windows programs such as Diskpart which my script uses.
Windows Recovery console - this also does not have the full command set as a command prompt session running as admin.
Windows PE/BartPE - this is a small graphical OS only from what I recall.