Clear-Disk is failing without error.
Clear-Disk is not un-initialising a disk, I go to run the initialize-disk command immediately after and get the error that the disk is already initialized. How do I solve this?
Use Clear-DiskStructure in PS module DeployImage. Otherwise use diskpart.exe. (See "clean" command via help)
If all else fails, use: (On GNU+Linux not Cygwin!)
# dd if=/dev/zero of=/dev/sdx bs=8b count=128
or even better...
[this will write (psudo)random gibberish to disk]
# dd if=/dev/urandom of=/dev/sdx bs=8b conv=notrunc
[this will zero reset all the bits !] (bs=8b is way too long though for a large disk... so I sometimes use bs=1024)
# dd if=/dev/zero of=/dev/sdx bs=8b conv=notrunc
where "/dev/sdx" is your Hard-Disk node (/dev/sda, /dev/sdb, /dev/sdc, etc...Use blkid or dmesg to find your disk node. Carefull! this will wipe your disk!!!).
# If you're concerned about spies taking the platters out of your hard drive,
# and scanning them using superconducting quantum-interference detectors,
# use this script for US Government DoD approved secure hard disk erasure.
# Source: http://www.linuxquestions.org
for n in `seq 7`; do dd if=/dev/urandom of=/dev/sdx bs=8b conv=notrunc; done