OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Find files which does not contains selected string

  • Thread starter Thread starter Piotr Stapp
  • Start date Start date
P

Piotr Stapp

Guest
I am trying to find all files, which does not contains a selected string. Find files which contains is easy:

Code:
gci | select-string "something"

but I do not have an idea how to negate this statement.
<p>I am trying to find all files, which does not contains a selected string. Find files which contains is easy:</p>

<pre><code>gci | select-string "something"
</code></pre>

<p>but I do not have an idea how to negate this statement.</p>
Continue reading...
 

Latest posts

Online statistics

Members online
0
Guests online
3
Total visitors
3
Top