属性textxtxtxtxtxtxtPowerShellの編集の#textは問題は以下の通りです
<Property Name="Connect Integrated Security" Type="System.String">SSPI</Property>
#textを置き換えるのに複数のxml属性を使用できますか?
フィニッシュ:XMLのためのPowerShellの自動NotePropertiesする代わりに
PS> $xml = [xml]'<Property Name="Connect Integrated Security" Type="System.String">SSPI</Property> '
PS> $xml.Property
Name Type #text
---- ---- -----
Connect Integrated Security System.String SSPI
PS> $xml.Property.'#text' = 'foo'
PS> $xml.Property
Name Type #text
---- ---- -----
Connect Integrated Security System.String foo
'$ xに= [xml] ' hello ' –
jjee
'$ x.SelectSingleNode( 'name')。 '#text' = 'world'' – jjee