Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Is it possible with select-xml to....

$
0
0

select a xml tag AND its contents inclusing the Tag start and  end itself

<Start>

Random Text here

</Start>

im trying

select-xml -path $my path -xpath //Start | select-object -expandproperty node

it returns 'Random Text here' but not the two tags <Start></Start>

Is this possible?

Thank You


Viewing all articles
Browse latest Browse all 21975


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>