This is untested, but should work for the “Scope Options” Option Name : sections:
( concatenations ";" of ( (preceding text of first ":" of it as trimmed string & " : " & following text of first ":" of it as trimmed string) of (it as string) ) of (it; next line of it; next line of next line of it; next line of next line of next line of it) of it) of lines containing " Option Name : " of files "whatever.txt"
Let me know if that works or not. Thanks for providing example text.
- Is there a particular part you are trying to parse?
- Can you provide example output in the format you’d like to see it in?
- Can you provide the script that dumps the DHCP config for others to use with these analysis properties?
- Do you have a bigfix action to automate this?
Side Note: This shows how to post code / text snippets to the forum and preserve the formatting: How to post code to the forums without it messing up the appearance