Upload pic to AD
Need to set pics in AD, here a quick way to do it with #powershell
$username = Read-Host 'Please enter the sameaccountname'
$pathtopic = Read-Host 'Please provide the picture path'
# Set picture
$Picture = [System.IO.File]::ReadAllBytes("$pathtopic")
Set-ADUser $username –add @{thumbnailphoto=$Picture}
# Download picture
$User = Get-ADUser -identity $username –properties thumbnailphoto
$pathtopic = 'C:\Export.jpg'
[System.Io.File]::WriteAllBytes ($pathtopic, $User.Thumbnailphoto)
If you are more comfortable with a GUI, codetwo.com has a free tool that will give you the same functionality.