I am trying to find all files, which does not contains a selected string. Find files which contains is easy:
gci | select-string \"something\"
You can use Where-Object;
Where-Object
gci | Where-Object { !( $_ | Select-String "something" -quiet) }