Modify the value of XML node use powershell
问题 I want to use the PowerShell script to modify the values in the following two paths, Use the following code to get the values. How to modify them and save them to the original file? eg: 1.Change the value of the following path to 5.0 ([xml] (Get-Content -Raw file.xml)).Map.StyleGroup.RootTopicDefaultsGroup.DefaultSubTopicShape.RightMargin 2.Change the value of the following path to false ([xml] (Get-Content -Raw file.xml)).Map.Custom.UpdatedNamedView 3.save to the original file note: use The