Counting and Grouping: Measure-Object and Group-Object

Measure-Object counts the objects a pipeline hands it and adds up, averages or finds the largest of one property, such as the total size of every file, and Group-Object sorts objects into piles by a property, such as one pile per file type, each with a count.

Updated

Cheat sheet for the lesson Counting and Grouping: Measure-Object and Group-Object: Measure-Object counts the objects a pipeline hands it and adds up, averages or finds the largest of one property, such as the total size of every file, and Group-Object sorts objects into piles by a property, such…
Category
PowerShell
Level
Apprentice
Tags
byte, group-object, measure-object, operating-system, powershell