Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

  • No labels