Basic Set Operations
suggest changeIntroduction
Here, a set is a collection of objects. The cmdlets below group and sort those objects. They are not the mathematical set operators (such as -contains or Compare-Object).
Syntax
- Group-Object
- Group-Object -Property <propertyName>
- Group-Object -Property <propertyName>, <propertyName2>
- Group-Object -Property <propertyName> -CaseSensitive
- Group-Object -Property <propertyName> -Culture <culture>
- Group-Object -Property <ScriptBlock>
- Sort-Object
- Sort-Object -Property <propertyName>
- Sort-Object -Property <ScriptBlock>
- Sort-Object -Property <propertyName>, <propertyName2>
- Sort-Object -Property <propertyObject> -CaseSensitive
- Sort-Object -Property <propertyObject> -Descending
- Sort-Object -Property <propertyObject> -Unique
- Sort-Object -Property <propertyObject> -Culture <culture>
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents