Thursday 9 February 2023

Count files by extension using powershell

Count files by extension using powershell

Get-Childitem c:\users-Recurse | where { -not $_.PSIsContainer } | group Extension -NoElement | sort count -desc

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Blog Archive