title: Powershell IF statement syntax issue
body: <p>I am having some issues with getting a part of my script to work. </p>
  
  <p>Say that <code>$SEMFINAL = /O=Default/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=name1 name2@email.com</code></p>
  
  <pre><code>IF ($SEMFINAL -match "name1 name2@email.com") {Set-variable -name SEMIFINAL -value "name1.name2@email.com"}
  </code></pre>
  
  <p>I have tried using set-variable and just $A = B but it isnt working.</p>