How can I remove all volumes from the hard drives in a WinPE environment using Diskpart through Powershell or WMIC calls? The WinPE image will be injected with the required packages using DISM beforehand, and I do not want to clear USB disks or any externally attached storage, including iSCSI links
Keep in mind this will be used as a part of a deployment environment in which the system is cleared before an image is applied. The deployment environment is intended to be completely unattended so the less stuff flying down screen, the better.