This Windows PowerShell script was written by Tony Kirchgessner of The New York Botanical Garden to facilitate herbarium specimen image processing workflows.  Specifically, this script will rename DNG image files to match derivative JPEG image files that have been renamed as the specimen barcode number by the application BardecodeFiler.  http://www.bardecode.com/en1/app/bardecodefiler/