There is a need to wipe a disk in WinPE with a Deployment Solution Job/tasks.
There are several ways to accomplish this. However, this article includes an example of a job that has proven successful to wipe the drive of a computer while in WinPE/Automation without using custom scripts.
NOTE: Encrypted hard drives may cause the wipe process to fail. Some vendors secure the encrypted hard drives to avoid unauthorized formatting / wiping of the hard drive.
Deployment Solution 8.x
This is an example only and should be used/modified at your own risk:
NOTE: You may get the following error message similar to the following if you are trying to run the task while in production; this must be done while in Automation:
ErrorMessage: ClientWipeException occured 'Erasing all disks or system disk is not supported in production. Please use Boot To task to boot into PreOS', return code 0, location 'Tcube_ClientWipe.cpp:167'