![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Schedule AutoChk
|
||
' Description: Schedules Autochk.exe to run against drive C the next time the computer reboots.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objDisk = objWMIService.Get("Win32_LogicalDisk") errReturn = objDisk.ScheduleAutoChk(Array("C:")) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |