How do I convert repeated xml nodes into a comma delimited string using powershell
问题 I have some 13000 log files that are formatted in XML format and I need to convert all of them into a spreadsheet\csv file. As you will see I'm not programmer but I've tried. I have written a powershell script to get the first nodes out and create a comma delimited string but I am stuck with getting the last node which can contain anything from no entries to dozens. example of the xml file: <?xml version="1.0" encoding="utf-8"?> <MigrationUserStatus> <User>username@domain.com</User>