title: Update Job Titles in AD via PowerShell
body: <p>I have the following script to update the Users "Job Title" under the "Organization" of their Profile in AD</p>
  
  <pre><code>Import-CSV -Path C:\UsersTestv1.CSV | Foreach-Object {
  #properties from the csv
  $user  = $_.user
  $title = $_.title
  Get-ADUser -$user | Set-ADUser -Title "$title"
  }
  </code></pre>
  
  <p>I am running this directly on the box to no avail</p>
  
  <p>The CSV file im using test is set like this: user,title,test.user,Test Script,
  <a href="https://i.stack.imgur.com/XbknH.png" rel="nofollow noreferrer">CSV File Snip</a></p>
  
  <p>However, this is not updating the required field (I have over 400 users to update)</p>
  
  <p>If i run the following:  set-aduser "test.user" -Title "Example"</p>
  
  <p>The required field successfully updates!</p>
  
  <p>What am I doing wrong in my original script, I thought it should loop through each entry of the CSV and do the above :(</p>
  
  <p>Any assistance is greatly appreciated</p>