XML how to replace part of the entity with a variable

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi, I here is the part of the xml file that I want to change
<Destination>\_FLDRREDIR_fldrredir$%USERNAME%Application Data</Destination>
I want to replace _FLDREDIR_ with a variable $fqdn by using a script. Ive been searching for a while on the net but xml is not my cup of tea...
Any help is much appreciated.
(the script is a powershell script)

View the full article
 
Back
Top