Check out this line to visualize when your system defragmented your hard drives:
get-eventlog -LogName Application -InstanceId 258 | ForEach-Object {$i=1|Select-Object Date, Type, Drive;` $i.Date = $_.TimeWritten $i.Type,` $i.Drive = $_.ReplacementStrings $i }