Create nfo file with details

Hi, I’m try to write a script which create or updates details in nfo (XML format)

File will have similar information.



<title>Happy Feet</title>


<Name>Actor 1</Name>
<Role>Role 1</Role>

<Name>Actor 2</Name>
<Role>Role 2</Role>


  1. I would like script to create file if it donest existed
  2. if file exist then update any information which is missing or incorrect.


That’s a nice task. What do you have so far? What kind of help do you need? Have you tried to search if there’s already something fitting in the PowershellGallery or somewhere else in the internet?