title: System.Net.Mail.MailAddress("emailAddress") Doesn't Check For Valid Email
body: <p>How can you check for a valid email address in Powershell?</p>
  
  <p>I've googled this and most people say to use <code>$toadr = new-object net.mail.mailaddress($to)</code> with a try/catch.</p>
  
  <p>However this doesn't check for .com etc at the end of the email.</p>
  
  <p>Eg. <code>$toadr = new-object net.mail.mailaddress("test@mailcom")</code></p>
  
  <p>doesn't throw an exception even though there is no dot before com.</p>