Add photos to Active Directory users with Powershell

$Photo = [byte[]](Get-Content D:\Pictures\User1.jpg -Encoding byte)
Set-ADUser User1 -Replace @{thumbnailPhoto=$Photo}

This is a useful plugin for ADUC.
http://www.dewdney.co.uk/adext/adext.zip

This entry was posted in Active Directory and tagged . Bookmark the permalink.