ScanIt
Need a script to run SCANPST.EXE ?
Automate Inbox Repair Tool(ScanIt) is a command line utility that run scanpst.exe against .pst or .ost file in command line mode.
ScanIt.exe FileName [BackupFileName] [PathToLogFile]
FileName - name of .pst or .ost file to scan
BackupFileName - name of backup file
PathToLogFile - directory where should be stored scanpst log
