How to remove nested in nested element from xml file

Welcome Forums General PowerShell Q&A How to remove nested in nested element from xml file

Viewing 1 reply thread
  • Author
    Posts
    • #256259
      Participant
      Topics: 12
      Replies: 15
      Points: 115
      Rank: Participant

      I need to Compare new names with name in XML file if name doesn’t match then I would like to remove that actor from XML file, if the name doesn’t existed then I would like to add it in.

      I try below code but it doesn’t work

      • This topic was modified 2 months, 1 week ago by lalajee.
      • This topic was modified 2 months, 1 week ago by grokkit.
      • This topic was modified 2 months, 1 week ago by grokkit.
      • This topic was modified 2 months, 1 week ago by grokkit. Reason: code formatting
    • #256265
      Participant
      Topics: 8
      Replies: 669
      Points: 2,635
      Helping Hand
      Rank: Community Hero

      Please read https://powershell.org/forums/topic/guide-to-posting-code-2/ and format your code properly so we can read it.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.