In the example I supplied the data is retrieved by the PowerShell command in the actionscript so you’d need to update that to include appending the lastwritetime to the text file.
Get-WMIObject Win32_LogicalDisk -filter "DriveType = 3" | select-object DeviceID | ForEach-Object {{Get-ChildItem ($_.DeviceID + "\") -include *.pst -recurse | select-object fullname, length,lastwritetime | export-csv -path $env:windir\TEMP\PSTList.txt -append}
Using the relevance approach of yours, you would need to pull the names, sizes and mortification times…just be wary of the file IO as “descendants of” could cause some IO and CPU spikes when evaluated by the Bigfix service (it would depend on how deep the folder is and in your example, you have a hard coded path for the Administrator which probably wont work for all endpoints).
(pathnames of it, sizes of it, modification times of it) of descendants whose (name of it as string as lowercase contains ".pst") of folders "C:\Users\Administrator\Documents\Outlook Files"