To do the same through powershell you can use
Use with extreme caution, this script will delete hard drives!
(Get-Disk).where({$_.BusType -like "ATA"}) | Clear-Disk -Confirm -Whatif -RemoveData -RemoveOEM
(I've put -Confirm -Whatif to be removed, so people can't randomly delete their entire comp! - remove it to delete your entire comp)
Obviously you need to make the "ATA" part whatever you need it to be, and you may need a confirm flag for the Clear-Disk (I didn't have a spare disk to test it on!)
You can use
get-disk | fl *
To get a list of all of the disks attached with all of the variables you can use to filter on.