Simple PowerShell script to generate thumbnails