How would I find a multiline pattern in files, such as the contents of an XML node, using Powershell?
i.e. if I were looking for the word "green" within the deviceDescription node, but the XML node text may span multiple lines, this doesn't work:
dir -r -i *.xml | select-string -Pattern "<deviceDescription>.*green.*</deviceDescription>"