In PowerShell I'm reading in a text file. I'm then doing a Foreach-Object over the text file and am only interested in the lines that do NOT contain strings that are in $arrayOfStringsNotInterestedIn
.
What is the syntax for this?
Get-Content $filename | Foreach-Object {$_}