Update-SPMicrofeedOptions

 

Applies to: SharePoint Server 2016

Updates the feed cache settings for the current user profile application.

Syntax

Update-SPMicrofeedOptions -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-AsyncRefs <$true | $false>] [-MaxCacheMs <Int32>] [-MaxMentions <Int32>] [-MaxPostLength <Int32>] [-MaxTags <Int32>] [-SiteSubscription <SPSiteSubscriptionPipeBind>]

Example

--------------EXAMPLE------------

Update-SPMicrofeedOptions -ProfileServiceApplicationProxy c6681d53-e6c4-432f-9f31-22d3de81b00c

This example updates settings from the specified User Profile Service Application Proxy.

Parameters

Parameter Required Type Description

ProfileServiceApplicationProxy

Required

Microsoft.SharePoint.PowerShell.SPServiceApplicationProxyPipeBind

Specifies the unique identifier for the proxy.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

Note

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

AsyncRefs

Optional

System.Boolean

Performs reference-posts via async threads.

If the value is set to True, each @mention in a thread is handled in its own .NET threadpool async tthread.

MaxCacheMs

Optional

System.Int32

Specifies the permissible range of cache loop up time.

MaxMentions

Optional

System.Int32

Specifies the maximum number @mentions per post and reply.

MaxPostLength

Optional

System.Int32

Sets the maximum number of characters in a Microfeed post.

MaxTags

Optional

System.Int32

Specifies the maximum number #tags per post and reply.

SiteSubscription

Optional

Microsoft.SharePoint.PowerShell.SPSiteSubscriptionPipeBind

Specifies the account under which this service should run. This parameter is mandatory in a hosted-environment and optional in a non-hosted environment.

See also

Get-SPMicrofeedOptions