PowerShell, System.IO.Packaging, and Open XML
Doug Finke has an interesting
post on using System.IO.Packaging (the basis for Open XML documents) with PowerShell. He has developed a cmdlet that allows interaction with Open XML documents. The code forms the basis for an approach to modify the contents of Open XML documents. He was able to write a script that generates 140 documents per second.