In PowerShell I have tried:
alias | select-string Alias
This fails even though Alias
is clearly in the output. I know this is beca
PS> alias | Where-Object {$_.Definition -match 'alias'}
CommandType Name Definition
----------- ---- ----------
Alias epal Export-Alias
Alias gal Get-Alias
Alias ipal Import-Alias
Alias nal New-Alias
Alias sal Set-Alias
what would be contradict of match in PS then as in to get field not matching a certain value in a column