Script
Name | Description | Last Modified Date | Download |
---|---|---|---|
Update Thumbnails | Use this to get SharePoint to generate thumbnails after profile synchronisation. |
| None |
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation "http://yourmysiteWebApp"
If you get an "object reference not set" error running this make sure you have permission to the User Profile Service. Central Admin -> Service Applications -> User Profile Service (Click Permissions from the Ribbon)
You also need to make sure the account running this command has permission to update the photos in the My Site web application.