Format a USB Drive with Format-Volume
Format any volume to exFAT, FAT32, or NTFS from PowerShell with Format-Volume — the scriptable way to prep USB sticks and SD cards.
01Command
$ Format-Volume -DriveLetter E -FileSystem exFAT -NewFileSystemLabel "USB64"02What it does
Format-Volume is the PowerShell equivalent of right-click > Format, with every option as a parameter: -FileSystem picks exFAT (large files, Windows+Mac compatible), FAT32 (maximum device compatibility, 4 GB file limit) or NTFS (Windows-only, permissions). Add -Full for a thorough format that verifies sectors, or -Force to format volumes that hold something mounted. Confirm the letter with Get-Volume first — this command doesn't ask twice.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Format-VolumeEvidence: Format-Volume formats a volume selected by -DriveLetter with a chosen -FileSystem (exFAT, FAT32, NTFS, ReFS) and optional label.
Last verified: 2026-09-18 · Category: Files & Folders
06Related solutions
One PowerShell line showing drive letters, labels, filesystems and free space for every volume.
Read-only PowerShell view of each disk's model, bus type, health and partition style.
Save a cleanup profile once, then run it unattended on any schedule.