3 ms·
E.g. instead of the script presented in the article: (Get-ChildItem -Filter '*.txt' | ForEach-Object { $_.Length } | Measure-Object -Sum).Sum You can do
by MatejKafka 2y ago
E.g. instead of the script presented in the article:
(Get-ChildItem -Filter '*.txt' | ForEach-Object { $_.Length } | Measure-Object -Sum).Sum
You can do
ls *.txt | measure -Sum Length | % Sum