I am working with a pretty basic powershell v1 script that loops through a SharePoint 2007 site looking for workflows, and when one is found, outputting delimited lines of property information.
Things were going swimmingly until I encountered a few workflow that have an InternalName property that consists of 3 or more lines of text.
I am trying to figure out how to go about dealing with this. When the output file is examined, I do not see a ^M at the end of each of the lines of property information. So I don't know how to go about splitting the property string and pasting it back together.
This must be a pretty common thing; I was asking someone with a lot more experience with powershell than I, and he was struggling with a similar problem from an Active Directory object property.
Is there a simple way to handle this sort of thing?