Hi there!
Here is my scenario:
- Command Prompt application returns the output which contains several lines.
C:>MyCommand parameter1
The output is:
User1 has a balance of 10.00
User1 has a free quota of 0.00
- We need
- To get only the first line of output, i.e. "User1 has a balance of 10.00"
- Separate each word with commas (or tabs), substitute the spaces with designated characters like:
User1,has,a,balance,of,10.00
Would you be so kind to implement that script. I tried to deal with export-csv command, but it did not work out :(
Thank you very much for your time and attention!