Skip to content

Instantly share code, notes, and snippets.

@hyung8789
Created June 23, 2022 02:57
Show Gist options
  • Select an option

  • Save hyung8789/074be417d47e6b5ddbc9d0814727c9e7 to your computer and use it in GitHub Desktop.

Select an option

Save hyung8789/074be417d47e6b5ddbc9d0814727c9e7 to your computer and use it in GitHub Desktop.
chkdsk 수행 결과 C://CHKDSKResults.txt 로 출력
get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message | out-file C://CHKDSKResults.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment