Getting the EXIF data from a file isn't that easy. For something simple, start with this code to find the exif property "Date Taken" (it's probably #12). Then modify the code a bit to just get that single property and format it the way you want it to look.
function Get-FileMetaData{
param(
[Parameter(Mandatory=$True)]
[string]$File
)
if(!(Test-Path -Path $File)){
throw "File does not exist: $File"
Exit 1
}
$tmp = Get-ChildItem $File
$pathname = $tmp.DirectoryName
$filename = $tmp.Name
try{
$shellobj = New-Object -ComObject Shell.Application
$folderobj = $shellobj.namespace($pathname)
$fileobj = $folderobj.parsename($filename)
for($i=0; $i -le 321; $i++){
$name = $folderobj.getDetailsOf($null, $i)
if($name){
$value = $folderobj.getDetailsOf($fileobj, $i)
if($value){
"{0}`t{1} {2} {3}" -f $i,$name,('.' * 30),$value
}
}
}
}finally{
if($shellobj){
[System.Runtime.InteropServices.Marshal]::ReleaseComObject([System.__ComObject]$shellobj) | out-null
}
}
}