Filter output based on keyword, but still retain PowerShell object format. Hence it can be even used in the middle of a pipeline (see example):
Data Wrangling\grep.ps1
grep -Text <Object> [-Keyword] <Object>
This was one of the great Idera PowerShell PowerTips (similar to the one in the link but not exactly this one.)
Get-Process | grep svchost | select name,id
{{Fill Text Description}}
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The text to filer
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False