count files by extension using powershell

by Sitaram Pamarthi on June 26, 2010

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

This post was written by...

– who has written 503 posts on

Sitaram Pamarthi is a windows administrators with 9+ years of more

{ 4 comments… read them below or add one }

Leave a Comment

Previous post:

Next post: