Description: Get the size of all files in a directory and its subdirectories
$path = "C:\Windows\System32"
Get-ChildItem -Path $path -File -Recurse | Select-Object -ExpandProperty Length |
Measure-Object -Sum | Select-Object @{n='Size (GB)';e={$_.Sum/1GB}}
www.udemy.com/user/patrick-gr...
Негізгі бет PowerShell: Größe (Summe) aller Dateien berechnen
Пікірлер