Powershell script to update Active Directory attribute
<p>I have limited exposure to Powershell so I need some help.</p>

<p>I have a CSV file with just the <code>SamAccounName</code>.  I would like to use powershell to import that file and update the <code>employeeID</code> attribute with the <code>sammaccountname</code> value.  The import is the easy part:</p>

<pre><code>$users = Import-Csv c:\filename.csv
</code></pre>

<p>Using the file to update the employeeid attribute is what I need help with.  Thanks in advance for your help.</p>