Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
I have file that looks like the below. I am trying to get everything after a certain line. Now the file can have 3 things or 20 after the line. I tried to use the context option but I would have to know how much is under what i am selecting. How do I get everything under the selected string. I trying to get all the data under data2 and make key value pair. Please see the code that i have. It will work if i select off of [info] because i am breaking off of [info2].
Ok I am a little confused so bare with me. Are you saying I should create a ini file and have the attached read it. If so what should be in the ini file and what is the format. I tried to look this up because it is foreign to me. I am basically trying to create a config file.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.