When using DISKPART I accidentally used the CLEAN command on my portable WD 500gb HDD. Now it is not showing as a drive in my computer, though shows as unallocated space in Disk Management.
Thanks for your help
testdisk might be able to fix that.
If there's data on the disk that needs to be recovered, don't do this!
You'll need to recreate a partition and format it. Diskpart is capable of doing both:
select disk 1
or whatever number refers to your hard drive, use list disk
to find out.create partition primary
will create one large partition. Use help create partition primary
for more options.select partition 1
format quick
to create the file system. Once again, check help format
for more options.