Author Topic: navigating eventviewer for chkdsk log on boot  (Read 934 times)

0 Members and 1 Guest are viewing this topic.

Offline Julian

  • "Cat and Mum Guy"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1320
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
navigating eventviewer for chkdsk log on boot
« on: August 02, 2017, 10:29:29 PM »
After running the command chkdsk /f at boot to check your harddrive, Finding the log in event viewer can be hard to some people so I wrote a simple command to run in powershell after the computer boots up just type in this
Code: [Select]
(Get-EventLog -LogName Application -Source wininit | Select-Object -Last 1 -ExpandProperty message) | out-file -filepath $env:homepath\desktop\chkdsk.txt that should place a txt file named chkdsk on your desktop so you can easily view the log without having to navigate the event log and look for it.
« Last Edit: August 02, 2017, 10:31:03 PM by Julian »
Julian