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

Fix – FRS Event 13508

To fix the problem, you need to designate a domain controller to be authoritative for the Sysvol replica set. 1. Stop the File Replication service on the PDC emulator FSMO…

Continue Reading Fix – FRS Event 13508