Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
@echo off for %%x in (C D E Q S T U) do ( if exist %%x:\ chkdsk %%x: /i if ERRORLEVEL 0 goto ERRORLEVEL 0 if ERRORLEVEL 1 goto ERRORLEVEL 1 if ERRORLEVEL 2 goto ERRORLEVEL 2 if ERRORLEVEL 3 goto ERRORLEVEL 3 :ERRORLEVEL 0 eventcreate /l SYSTEM /so chkdsktest /t INFORMATION /id 10 /d "No errors were found on %%x." goto end :ERRORLEVEL 1 eventcreate /l SYSTEM /so chkdsktest /t INFORMATION /id 11 /d "Errors were found and fixed on %%x." goto end :ERRORLEVEL 2 eventcreate /l SYSTEM /so chkdsktest /t WARNING /id 12 /d "Performed disk cleanup (such as garbage collection) or did not perform cleanup because /f was not specified on %%x." goto end :ERRORLEVEL 3 eventcreate /l SYSTEM /so chkdsktest /t ERROR /id 13 /d "Could not check the disk, errors could not be fixed, or errors were not fixed because /f was not specified on %%x." goto end ) :end
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.