This PowerShell script sample shows how to calculate the number of file name extensions.

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.

image image

You can find more All-In-One Script Framework script samples at