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: 11
      Replies: 15
      Points: 104
      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 6 days, 23 hours ago by lalajee.
      • This topic was modified 5 days, 23 hours ago by grokkit.
      • This topic was modified 5 days, 23 hours ago by grokkit.
      • This topic was modified 5 days, 23 hours ago by grokkit. Reason: code formatting
    • #256265
      Participant
      Topics: 7
      Replies: 557
      Points: 2,122
      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.