How to use Select-Xml in Powershell to print the content of an xml node element?
问题 restricted to xpath or even Select-Xml how else are the book titles printed? PS /home/nicholas/powershell> PS /home/nicholas/powershell> Select-Xml "./bookstore.xml" -XPath "/bookstore/book/title" | foreach {$_.node.InnerXML} Pride And Prejudice The Handmaid's Tale Emma Sense and Sensibility PS /home/nicholas/powershell> PS /home/nicholas/powershell> Select-Xml -Path "./bookstore.xml" cmdlet Select-Xml at command pipeline position 1 Supply values for the following parameters: XPath: