Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Select specific string with line break

$
0
0

Hello all,

I would like to only select "CN=*whatever*" from the line below

> C:\test\temp_523410.txt:18:Subject:
  C:\test\temp_523410.txt:19:    CN=domain.local
  C:\test\temp_523410.txt:20:    O=Test Organization
  C:\test\temp_523410.txt:21:    L=City


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>