Sure thing, (should have posted it at start)
Just paste into either PS editor or test file and rename to *.ps1
NOTE: may have to change Set-ExecutionPolicy if not already done.
Script:-
get-content -path "C:\Scanning\Production\DSD_01\VC-DSDPlus.srt" -tail 2 -wait | select-string -Pattern 'TG' | Out-file "C:\Scanning\Production\DSD_01\Export.log"
Just need to change the path's and then point Proscan metadata to the export.log file and last line option.
I also just wipe the Export.log on DSD startup - have found if a busy system the log can get 2 large for proscan after 12+ hours, a background task to run on a timer to stop the PS script (taskkill /f /im power*) and then delete the export.log and re run the script fixes it though.