For further reading
Get-Help about_pipelines
Get-Help Sort-Object
Get-Help Where-Object
Get-Help Select-Object
Get-Help Group-Object
Get-Help about_comparison_operators
Get-Help about_scriptblocks
Get Getting Started with PowerShell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.