title: 'New-QADUser : A parameter cannot be found that matches parameter name 'PasswordNeverExpires'
body: <p>I continue to receive this error when running the script below. </p>
  
  <pre><code>New-QADUser : A parameter cannot be found that matches parameter name 'PasswordNeverExpires'.
  </code></pre>
  
  <p>I've loaded the active directory module and the quest active roles management console.</p>
  
  <p>Removing the <code>-PasswordNeverExpires</code> parameter allows the script to work without any errors.</p>
  
  <p>If anyone could shed any light on this I'd appreciate it.</p>
  
  <pre><code>$UserList=IMPORT-CSV C:\scripts\users.csv
  FOREACH ($Person in $UserList) {
      $Username=$Person.vendorname+$Person.username.substring(0,0)
      $Description=$Person.description
      $Domain=’@domain.com’
      $UserPrincipalName=$Person.vendorname+$Domain
      $Name=$Person.vendorname+” “+$Person.username
      NEW-QADUSER –FirstName $Person.vendorname –Lastname $Person.username -DisplayName $Name       -Description $Description –SamAccountName $Username –UserPassword ‘Password' -PasswordNeverExpires $True –UserPrincipalName $UserPrincipalName  –Name $Name –ParentContainer ‘ses4energy.com/marketingportal/users’ 
  
  }
  </code></pre>