count files by extension using powershell TechiBee 14 years ago Just a tip. This will help you to list files count by extension. Get-Childitem c:\local -Recurse | where { -not $_.PSIsContainer } | group Extension -NoElement | sort count -desc