Hi,
I have a long list of server names and underneath it, are the software names. These two text patterns are keywords (Server Name: ABC, software name: aaa...etc)
It's in a text file like this:
Server Name: ABC
sw name: this
sw name: that
sw name: there
sw name: they
....and so on until the next Server Name. The software name items are short and many are long ones.
How do I read it using PS and set each
Server Name: ABC-----Server Name: DEF----and so on
sw name: this----------sw name here-----and so on
sw name: that----------sw name here-----and so on
sw name: there--------sw name here-----and so on
sw name: they---------sw name here-----and so on
It reads the Server Names and the software names for each server underneath it.
THe output format file from text file to column headers in csv format.
Is this doable or possible to do with PS?
Thanks for your help in advance,