There should not be an issue, no. This isn’t PowerShell doing it, per se; it’s the underlying .NET Framework XML parser. XML isn’t sensitive to carriage returns; any carriage returns are just to help make the file easier for a human to read, and the .NET parser does tend to try and keep the file “pretty looking.” But any software that reads the file shouldn’t care about line breaks, or extra white space between elements.
↧