Hey, I’m trying to get specific fields out of an XML files of about 7GB (yes, GB). Using Get-Content and Select-Xml this ends up eating -huge- amounts of memory (70+GB). Hence, I have to find a way to stream the data and process the nodes one by one. I’ve
come across this example, but it seems like this doesn’t allow to easily skip entire parts of the XML:https://henry416.wordpress.com/2012/10/05/reading-xml-with-the-xmlreader-in-powershell/