Type the following command to create a new partition using the NTFS file system and assign a name for the USB drive, and press Enter: New-Partition -DiskNumber 1 -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel myUSB Type Y to confirm that you want to wipe the specified drive and press Enter. If you specify the number incorrectly, you could wipe out the wrong drive causing data loss. In the above command, make sure to change “1” with the disk number of the drive you want to repair. Type the following command to erase the drive and press Enter: Get-Disk 1 | Clear-Disk -RemoveData Type the following command to identify the removable drive you want to repair and press Enter: Get-Disk
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |