I´m stuck on a problem... I´m trying to format text in powershell.
Here´s what I´m trying to do:
I´ve got a plain-text file containing the employee id and mail address from an ldap export which I´ve already cleaned up and looks like this:
0001
[email protected]
0002
[email protected]
0003
[email protected]
....
0400
[email protected]
And I want convert this to the following:
0001,[email protected]
0002,[email protected]
0003,[email protected]
...
0400,[email protected]
The only thing which I´ve found so far is that I could create an output which will look like this:
0001,[email protected],0002,[email protected],0003,[email protected],[email protected]
Can someone help me with this?!?!