title: Check text file content in PowerShell
body: <p>The <strong>PowerShell</strong> command</p>
  
  <pre><code>Get-ADFSRelyingPartyTrust | select Name | out-file C:\listOfNames.txt
  </code></pre>
  
  <p>generates a file as follows:</p>
  
  <pre><code>Name
  ----
  AustriaRP
  BahamasRP
  BrazilRP
  CanadaRP
  
  [...]
  </code></pre>
  
  <p>Now, how can I check if <code>BrazilRP</code> has been extracted and <code>C:\listOfNames.txt</code> contains it?</p>