Create dirsum.ps1

This commit is contained in:
Imi 2022-08-03 07:14:34 +02:00 committed by GitHub
parent e6d4ec770a
commit 51c1c5fde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
powershell/dirsum.ps1 Normal file
View File

@ -0,0 +1 @@
Get-ChildItem . | % { $f = $_ ; get-childitem -r $_.FullName | measure-object -property length -sum | select @{Name="Name";Expression={$f}},Sum}