Need help working with .XML files

Seems I have multiple solutions. With the PS object, I can then convert to .csv if additional fields are needed.

Thank you very much for all your suggestions. I’ve learned a lot about .xml.