Deleting an

Welcome Forums General PowerShell Q&A Deleting an

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
1 year, 6 months ago.

  • Author
    Posts
  • #71968

    Participant
    Points: 1
    Rank: Member

    I have an example of a xml format,....with that I would like to remove the element listed as such

    How can I remove that one element. Thank you for any help.

  • #72122

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    You can share XML by posting it as a Gist, and including the Gist URL in your message here.

    Briefly, you need to get a reference to the element you want to remove, and to its parent element. You then tell the parent to remove the child.

  • #72158

    Participant
    Points: 0
    Rank: Member

    @donj, this is a duplicate post that didn't post correctly. It was recreated here "https://powershell.org/forums/topic/deleting-an-xml-element/"

The topic ‘Deleting an’ is closed to new replies.