L
LWG
I have an output file that I want to grab a piece of text from. The file
looks as follows:
output below:
name: FZRVEW2761W
dn:
CN=fzrvew2773w,OU=Computers,OU=Riverview,OU=CCN,DC=Na,DC=Corp,DC=Cargill,DC=
com
name: fzrvew2773w
dn:CN=fzrvew2774w,OU=Computers,OU=Riverview,OU=CCN,DC=Na,DC=Corp,DC=Cargill,
DC=com
I want to grab the computername "fzrvew2761w". What would be the best way?
TIA
looks as follows:
output below:
name: FZRVEW2761W
dn:
CN=fzrvew2773w,OU=Computers,OU=Riverview,OU=CCN,DC=Na,DC=Corp,DC=Cargill,DC=
com
name: fzrvew2773w
dn:CN=fzrvew2774w,OU=Computers,OU=Riverview,OU=CCN,DC=Na,DC=Corp,DC=Cargill,
DC=com
I want to grab the computername "fzrvew2761w". What would be the best way?
TIA