If one looks at file properties in Windows Explorer, the "Details" tab, - for many filetypes (for example, tiff or jpeg images, Office documents, etc.) there is the "Description" section with fields like "Title", "Subject", "Tags", and "Comments". Is there a way to read/write these fields from Perl or a PowerShell script?
I wrote up a blog post on how to access extended properties a while back - as in when PowerShell was still in beta and called Microsoft Command Shell (MSH). :-) I think it's still a valid approach.
PowerShell has gone through some iterations, and this can now be achieved with a native command: Get-ItemProperty
Example: Shows the current details of ntdll.dll file:
Get-ItemProperty C:\Windows\System32\ntdll.dll | format-list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With