Situatie
To format a USB flash drive using PowerShell commands, use these steps:
Solutie
Open Start
Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to perform a quick format on the flash drive and press Enter:
Format-Volume -DriveLetter DRIVE-LETTER -FileSystem FILE-SYSTEM
In the command, make sure to replace “DRIVE-LETTER” with the correct letter that reflects the drive you want to format, and “FILE-SYSTEM” for FAT32, exFAT, or NTFS (recommended).
This example performs a quick format of the E: drive:
Format-Volume -DriveLetter E -FileSystem NTFS
(Optional) Type the following command to perform a full format on the USB flash drive and press Enter:
Format-Volume -DriveLetter DRIVE-LETTER -FileSystem FILE-SYSTEM -Full -Force
This example performs a full format of the E: drive:
Format-Volume -DriveLetter E -FileSystem NTFS -Full -Force
After completing the steps, PowerShell will format the removable storage with the settings you specified.
Leave A Comment?