Here's code that finds the indices of all supported property names(metadata) in windows

PHOTO EMBED

Sat Oct 05 2024 17:35:33 GMT+0000 (Coordinated Universal Time)

Saved by @baamn #powershell #metadata #file #properties

$folder = (New-Object -ComObject Shell.Application).NameSpace("$pwd")
# Note: Assumes that no indices higher than 1000 exist.
0..1000 | % { 
  if ($n = $folder.GetDetailsOf($null, $_)) { 
    [pscustomobject] @{ Index = $_; Name = $n } 
  } 
}
content_copyCOPY

https://stackoverflow.com/questions/64597009/use-powershell-to-edit-a-files-metadata-details-tab-of-a-file-in-windows-file