This script will execute pcbdiagnostics.exe on the expedition design it is executed from and open its logfile. You should save the design first as it runs on disk data. For more information on pcbdiagnostics.exe, consult expedition documentation. If you are not able to open the pcb in Expedition, then you will have to run this manually via a command prompt.
NOTE: Some Fixes are made to disk data directly. There are also some fixes that can only be applied on re-invocation of Expedition. Hence, if any fixes are reported, user must exit Expedition without saving, and then reopen.
Manual Execution of pcbdiagnostics.exe shown below.