问题如下:
$xml = [xml](Get-Content $USSExternalContentTypeFile)
$xml.Model.Properties.Property. ....
$xml.Save($USSExternalContentTypeFile)
名称 类型 #text
---- ---- -----
连接集成安全系统。字符串 textxtxtxtxtxtxt
<Property Name="Connect Integrated Security" Type="System.String">SSPI</Property>
帮助多个xml属性替换#text?
完成:Property[2].'#text' = 'foo'