Hey Y’all,
As some of you know I’ve been working on Refurbishing old PC that still have life in the by increasing the RAM and swapping out HDDs for SSDs. Of course, when those new SSDs show up they have to be initialized and the old HDDs need to be wiped.
So once again PowerShell to the rescue. I wrote a script with a GUI to let you select the disk to initialize. The script won’t let you initialize the boot drive. It won’t show disk 0 (usually the boot drive) and after selecting a disk it checks to make sure it’s not the boot drive. Unfortunately, I don’t have a machine that doesn’t have drive 0 as the boot drive. I’ve tested the logic in the ISE by running only that section of the code with the Drive number forced to 0 and it works, but there is nothing like a live test.
So if there are any brave souls who, of course have a complete IMAGE Backup of their drives and know how to restore them, are willing to give it a spin I’d greatly appreciate it.
Anyone can download it from my public OneDrive page. The file is called Initialize-MyDrive.zip (had to avoid duplicating the Initialize-Drive command in PS).
Unzip both included files to the same directory and give it a go.
@bbearren, you’re my most likely tester with your fantastically customized Windows installation.
Note: this version will only Initialize the drive as GPT. If the test is successful I’ll add the option to Initialize MBR to the dialog.
[UPDATE]
I just noticed I forgot to edit the instruction from Clear to Initialize, will be fixed in next go around. Yes, I copied the dialog box definition from one of my other programs and edited it and missed that one.