This script uses the COM object Shell.Application to display a files meta data. To run it, you must have Windows PowerShell installed on your computer -- either version 1 or 2. You will then want to pass the path to a folder that contains the file whose meta data you wish to discover. You can also edit the value of the $folder variable which is set up as a command line parameter.

PowerShell
Edit|Remove
# =============================================================================
# 
# NAME:DisplayMetaData.ps1
# 
# AUTHOR: Ed Wilson , microsoft
# DATE  : 8/10/2008
# 
# COMMENT: 
# Uses Params to allow modification of script at runtime
# Uses shell.application com object to obtain meta data
# Uses funLine function to underline output
#
# =============================================================================

param($folder = "C:\test") #end param

Function funLine($strIN) 
{
  $strLine = "=" * $strIn.length
  Write-Host -ForegroundColor Yellow "`n$strIN"
  Write-Host -ForegroundColor Cyan $strLine
} #end funline

Function funMetaData()
{
 foreach($sFolder in $folder)
  {
   $a = 0
   $objShell = New-Object -ComObject Shell.Application
   $objFolder = $objShell.namespace($sFolder)

   foreach ($strFileName in $objFolder.items())
    { FunLine( "$($strFileName.name)")
      for ($a ; $a  -le 266; $a++)
       { 
         if($objFolder.getDetailsOf($strFileName, $a))
           {
             $hash += @{ `
                   $($objFolder.getDetailsOf($objFolder.items, $a))  =`
                   $($objFolder.getDetailsOf($strFileName, $a)) 
                   } #end hash
            $hash
            $hash.clear()
           } #end if
       } #end for 
     $a=0
    } #end foreach
  } #end foreach
} #end funMetadata 

# *** Entry Point ***

funMetaData