Skip to content

DataMgmt

neztach edited this page Aug 31, 2023 · 1 revision
Code Explanation
Get-Process | Group-Object -Property Name
Group objects by property name
Get-Process | Sort-Object -Property Id
Sort objects by a given property name
Get-Process | Where-Object -FilterScript { $PSItem.Name -match '^c' }
Filter objects based on a property matching a value
Get-Process | Where-Object Name -match '^c'
Abbreviated form of the previous statement

Clone this wiki locally