Refresh a Specific User’s Feed Cache

Scenario/Problem: A user’s feed cache is not being refreshed or updated with the latest statuses.

Solution: Use the Update-SPRepopulateMicroblogFeedCache cmdlet.

To refresh the feed cache of a specific user, execute the Update-SPRepopulateMicroblogFeedCache cmdlet using the user’s account and the Profile Service Application Proxy, as shown in Listing 14.9.

Listing 14.9. Update the Feed Cache

$profileProxy = Get-SPServiceApplicationProxy -Identity 150232e4-a3d2-4915-adb1-155ea77a6dfbUpdate-SPRepopulateMicroblogLMTCache -AccountName "SP\FeedUser"-ProfileServiceApplicationProxy $profileProxy

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.