Friday, July 5, 2013

Where do I see the results of a disk scan in windows 7?

On Windows XP/Windows 7 Disk Scan (chkdsk) shows no report upon compleation.
To see the results of a disk scan in windows you need to type this command in PowerShell:

get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername -match "wininit"} | fl timecreated, message | out-file c:\stuff\CheckdiskResults.txt

Please note the last path in the command:  c:\stuff\CheckdiskResults.txt
You should enter an existing folder here OR to create the c:\stuff folder.

Note: to open the PowerShell (press Win + R keys together and type in PowerShell.exe)