Pre-install scripts - Windows
You can use the Pre-Install Scripts tab to provide custom DiskPart scripts for disk cleanup, hardware configuration, disk array configuration, and pre-disk partitioning.
To add a pre-install script, click Add , and then specify the script's name, contents, and whether or not to reboot after the script runs.
See also Network-enabled Windows PE scripting - Windows.
When finished, proceed to the Disk-partition-Windows tab.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*