@martin bof
Hi,
MDT will clean, format, & partition Disk "0" by default in the Standard Client Task Sequence.
Also, you could integrate MDT with SCCM, then put a Diskpart clean step in front of the format step in the task sequence.
For your reference:
http://sccm2012notes.blogspot.com/2017/02/diskpart-in-sccm-2012-task-sequence.html?m=1
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Hope above information can help you.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.