Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Group-Object

Group-Object - Powershell 3.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 »

Group-Object

Short description
Groups objects that contain the same value for specified properties.

Syntax


Description
The Group-Object cmdlet displays objects in groups based on the value of a specified property. Group-Object returns a t
able with one row for each property value and a column that displays the number of items with that value.


If you specify more than one property, Group-Object first groups them by the values of the first property, and then, wi
thin each property group, it groups by the value of the next property.