I need to replace some elements in an array with elements from another array but I dont know the structure on powershell.
For instance I have:
$A = @("t","o","p")
$B = @("u","g","j")
I want t to become u, o to become g.
I guess you need to use a Foreach and create a loop but I'm not sure at all about the syntax.
By the way I'm working on XML data how do you save the changes on the active folder?