I have a series of nested folders in a Windows 7 operating system, all holding files. The files are Word and Excel. I would like to extract the Authors, Owner, Date Modified, and Date Created metadata field from each file, and output to a text file.
My first attempt to do this involved using PowerShell. The code presented by the OP here works great, but does not recurse through the folders. I experimented with various ways of combining 'Get-ChildItem' with the funMetadata function, but was unable to do so. Since it didn't work for the OP, and there were no solutions offered by the SO community, it seemed unwise to try to continue to try and fix this code. Instead, I focused on modifying the OP's solution (below) by substituting my own metadata fields, but the output text file simply says "Authors" followed by a blank page. Here's what I tried:
(navigate to root folder): Get-ChildItem -Recurse | Select-Object Authors | Out-file "C:\text5.txt"
(By the way, the metadata definitely exists within the files - I know this by using the OP's original, not-able-to-recurse script).
Trying a different tack, I downloaded two python modules - hachoir and oletools - but once I got them installed, I did not know where to start. It doesn't seem as if there is any documentation.
Does anyone have advice for me?
EDIT: I just found some new info here, and this is probably a duplicate question. I hate to delete it now though, in case someone's working on an answer. Apologies for any confusion