Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Measure-Object

Measure-Object - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Measure-Object

Short description
Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.

Syntax


Description
The Measure-Object cmdlet calculates the property values of certain types of object. Measure-Object performs three 
types of measurements, depending on the parameters in the command.


The Measure-Object cmdlet performs calculations on the property values of objects. It can count objects  and calculate 
the minimum, maximum, sum, and average of the numeric values. For text objects, it can count and calculate the number 
of lines, words, and characters.