I am having some issues with getting a part of my script to work.
Say that $SEMFINAL = /O=Default/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=name1 [email protected]
IF ($SEMFINAL -match "name1 [email protected]") {Set-variable -name SEMIFINAL -value "[email protected]"}
I have tried using set-variable and just $A = B but it isnt working.