Update the Profile Photo Store
Scenario/Problem: You upgraded to SharePoint 2010 and need to update the Profile Photo Store.
Solution: Use the Update-SPProfilePhotoStore
cmdlet with the MySiteHostLocation
parameter.
After you upgrade from MOSS 2007 to SharePoint 2013, you need to ensure that the profile photo store is compatible with SharePoint 2013. Using the Update-SPProfilePhotoStore
cmdlet, shown in Listing 14.7, ensures that the photo store is updated accordingly.
Update-SPProfilePhotoStore -MySiteHostLocation http://mysites
Update-SPProfilePhotoStore -MySiteHostLocation http://mysites
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.