import picture into Active Directory

it’s as simple as that:

Start a powershell on your AD and run the following:

$photo = [byte[]](Get-Content C:picturesoddvar.jpg -Encoding byte)
Set-ADUser oddvar -Replace @{thumbnailPhoto=$photo}

For more details: http://msitpros.com/?p=1036