Script Download:GetSpecifiedFileExtension.ziphttp://gallery.technet.microsoft.com/scriptcenter/Script-to-calculate-the-8e3151c3
Assume that you have 100,000 files that are stored within folders on a computer. When a user wants to know how many .jpg and .bmp files there are in this folder, it becomes difficult to retrieve the specified file name extensions.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery