Update AD User properties via CSV file in powershell

Import-Module ActiveDirectory

$USERS = Import-CSV c:\users.csv

$USERS | foreach {

    $empid=$_.employeeid
    $company=$_.company
    $title=$_.title
    $department=$_.department
    $Division=$_.division
    $pobox=$_.pobox
    $city=$_.city

    Set-ADUSer -Identity $_.samaccountname -Replace @{employeeID=$empid; company=$company; title=$title; department=$department; division=$division; postofficebox=$pobox; l=$City}
}