defrag
SafeDefragment / TRIM
defrag C: /O
Runs the right optimization per media (/O): defrag for HDDs, TRIM for SSDs. /A analyzes only.
Examples
defrag C: /AAnalyze fragmentation
Syntax
defrag <volume> [/A] [/O]
Before you run it
Optimization only (I/O heavy while running).
Related commands
- chkdskCheck/repair a disk
- Get-VolumeVolumes and free space
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store