Import thumbnailphoto in AD from jpg

The script below will import Jpg file as a thumbnail photo in Active Directory $username = "p01001" $jpgfile = "C:\PICTURE.jpg" $dom = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $root = $dom.GetDirectoryEntry() $search = [System.DirectoryServices.DirectorySearcher]$root $search.Filter =…

Continue Reading Import thumbnailphoto in AD from jpg