Easy way to extract EXIF data in PowerShell?

admin

Administrator
Staff member
I've been looking at various methods that I can extract EXIF data using PowerShell, but I have so far seen that it is quite convoluted.
Some <a href="http://blog.cincura.net/233463-renaming-files-based-on-exif-data-in-powershell/" rel="nofollow">here</a> and <a href="https://chrisjwarwick.wordpress.com...ell-the-update-exifdatetaken-script-cmdlet-2/" rel="nofollow">here</a>.

I am looking for a (relatively) simple method to extract basic EXIF data using powershell, so that I can use it natively.

In particular, I am particularly interested in the <strong>Date Taken</strong> property and I am trying to find a method I can run this through <strong>Get-Date</strong>, and customise the formatting for my own needs.
Something like:

Code:
$exifdatetaken = $mypicture.'Date taken' | Get-Date -Format yyyyMMdd-HHmmss

Does anyone know if there is a way to do this natively in PowerShell?