Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Select-XML

Select-XML - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Finds text in an XML string or document.

Select-XML -Content <string[]> [-Xpath] <string> [-Namespace <hashtable>] [<CommonParameters>]

Select-XML [-Path] <string[]> [-Xpath] <string> [-Namespace <hashtable>] [<CommonParameters>]

Select-XML [-Xml] <XmlNode[]> [-Xpath] <string> [-Namespace <hashtable>] [<CommonParameters>]

The Select-XML cmdlet lets you use XPath queries to search for text in XML strings and documents. Enter an XPath qu
ery, and use the Content, Path, or Xml parameter to specify the XML to be searched.