title: powershell | select-string pattern + line unter the pattern
body: <p>is there a way to select a string pattern, and get also the line after the pattern.</p>
  <p>my metadata look like :</p>
  <pre><code>&quot;t&quot;: &quot;d&quot;,
        &quot;n&quot;: &quot;00001212&quot;,
          &quot;22.06.2031&quot;,
          &quot;&quot;,
          &quot;&quot;,
          &quot;batman&quot;,
  </code></pre>
  <p>my codeline looks like:</p>
  <pre><code>$contentNameFolder= $content__ | Select-String -Pattern '&quot;n&quot;: * ' 
  </code></pre>
  <p>my output looks like :</p>
  <pre><code>&quot;n&quot;: &quot;00001212&quot;,
  </code></pre>
  <p>what i want to get is:</p>
  <pre><code>&quot;n&quot;: &quot;00001212&quot;,
          &quot;22.06.2031&quot;,
  </code></pre>
  <p>i was trying to add into my code <code>-context 1,2 </code> or something like that but this dont worked for me.</p>