Then you can find the uninitialized disk is shown as “RAW”.ģ. Type in “get-disk” and press “Enter” to get information about any disk attached to the current operating system. Click Search box and input “powershell”, then right-click the “Windows PowerShell” icon and select “Run as administrator” to launch PowerShell window.Ģ. Instead, you can first recover data from the uninitialized disk via data recovery software.ġ. If it is a used disk with lots of files but shows “not initialized, unallocated”, please do not initialize it immediately since this process will erase all data on the disk.
In this part, you’ll learn how PowerShell initializes a disk to MBR or GPT, whether it’s a new one or old one.
How to properly initialize disk via PowerShell? Windows 11/10/8/7 provides several ways to initialize a (new) disk, including using PowerShell, Diskpart and Disk Management. Although it sounds like a tedious process, it’s not. You might also need to consider initializing a disk when you meet some disk errors like “ Disk unknown not initialized”. Whenever you add a brand new disk to your Windows 11/10 computer, you need to initialize it to MBR or GPT and format it to a compatible file system like NTFS or FAT32, then the Windows can read and write data on the disk.