3 ms·
With aliases, powershell can be quite terse as well, and since it's case-insensitive, you can just type everything in lowercase.
by MatejKafka 2y ago
With aliases, powershell can be quite terse as well, and since it's case-insensitive, you can just type everything in lowercase.
- MatejKafka 2y agoE.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