title: Determine Running Times of Videos in Directory using PowerShell
body: <p>I have a directory of videos (.AVI files) that I want to determine the duration of, and to create a file listing the titles and durations of all the videos, sorted in descending order of the video duration.  </p>
  
  <p>Can anyone offer a PowerShell script to do this?</p>
  
  <p>Thanks, MagicAndi  </p>