Get-ChildItem -Recurse | Sort-Object Length >> vastus.txt Get-ChildItem | Measure-Object -Property Length -Sum -Average $andmed=Get-ChildItem | Measure-Object -Property Length -Sum -Average echo "Faile kokku " $andmed.Count ", pikkuste summa " $andmed.Sum