Create dirsum.ps1

This commit is contained in:
Imi
2022-08-03 07:14:34 +02:00
committed by GitHub
parent e6d4ec770a
commit 51c1c5fde2

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}