title: Powershell - The Parameter "XXXX" is declared in parameter-set "__AllParameterSets" multiple times
body: <p>First of all, i'm sorry if this question has been posted before.
  I couldn't seem to find and answer we could work with, so here goes..</p>
  
  <p>Backstory:
  Every 90 days all password of the NT-accounts will expire.
  The office staff gets a notification when they're signing in into Windows 10.</p>
  
  <p>However our iPad users (salesmen and technicians who are on the road) don't get a notification about the expiration.
  They use an app which requires a NT-account to sign into our sales system.</p>
  
  <p>Now we've found a Powershell script which would e-mail the user about the expiration of his password, but unfortunately we keep getting the following error: </p>
  
  <blockquote>
    <p>"The parameter "testing" is declared in parameter-set "__AllParameterSets" multiple times."</p>
  </blockquote>
  
  <p>As we do not have any Powershell programming skills, we have no idea what going wrong in the script.</p>
  
  <p>Could you guys help us? </p>
  
  <p>The following script is being used (ofcourse edited with our SMTP server and e-mail addresses). </p>
  
  <blockquote>
    <p><a href="https://gallery.technet.microsoft.com/scriptcenter/Password-Expiry-Email-177c3e27" rel="nofollow noreferrer">https://gallery.technet.microsoft.com/scriptcenter/Password-Expiry-Email-177c3e27</a></p>
  </blockquote>
  
  <p>Much obliged :-) </p>