Set-CsPresenceManagementState

Use the `Set-CsPresenceManagementState` cmdlet to modify the settings of the Skype for Business Server management state. The management state settings determine the batching and timing of Skype for Business Server notifications.

Syntax

Set-CsPresenceManagementState
   [[-Fqdn] <Fqdn>]
   [-Confirm]
   [-Force]
   [-ManualOverride <Boolean>]
   [-MaxPublishersPerBatch <UInt32>]
   [-MaxRemotePublishersPerBatch <UInt32>]
   [-NotificationBatchInterval <UInt32>]
   [-NotificationBatchSize <UInt32>]
   [-WhatIf]
   [-LimitedNotificationMode <Boolean>]
   [-MaxHttpMessageSizeKb <UInt32>]
   [-MaxRemoteQueueThreadCount <UInt32>]
   [<CommonParameters>]

Description

To return a list of all the Role-Based Access Control (RBAC) roles a cmdlet has been assigned to (including any custom RBAC roles you have created), run the following command from the Windows PowerShell prompt.

Get-CsAdminRole | Where-Object {$_.Cmdlets -Match "\<DesiredCmdletName\>"}

Examples

-------------------------- Example 1 --------------------------

Set-CsPresenceManagementState -Fqdn "atl-mcs-001.litwareinc.com" -NotificationBatchSize 50

This example set the NotificationBatchSize to 50 on the pool or computer named "atl-mcs-001.litwareinc.com".

Optional Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-Force

The Force parameter is not implemented for this cmdlet.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-Fqdn

Specifies the computer or pool to modify. The computer or pool should be referenced by using its fully qualified domain name (FQDN). For example: -Fqdn "atl-mcs-001.litwareinc.com". If FQDN is not specified, the settings for the local machine will be modified.

Type:Fqdn
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-LimitedNotificationMode

{{Fill LimitedNotificationMode Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-ManualOverride

This parameter is reserved for internal Microsoft use.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-MaxHttpMessageSizeKb

{{Fill MaxHttpMessageSizeKb Description}}

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-MaxPublishersPerBatch

Specifies a general guideline for the number of publishers that are collected before notifications are sent. Reducing the MaxPublishersPerBatch value reduces database pressure at the expense of longer notification wait time after publishing. Increasing this value reduces notification wait times during periods of high volume, but increases database and network traffic.

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-MaxRemotePublishersPerBatch

PARAMVALUE: UInt32

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-MaxRemoteQueueThreadCount

{{Fill MaxRemoteQueueThreadCount Description}}

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-NotificationBatchInterval

Specifies the time in seconds between notification batches. Reducing the NotificationBatchInterval value increases database and network traffic but improves notification wait times. Increasing the value increases notification wait times.

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-NotificationBatchSize

Specifies the maximum number of messages to send in one batch notification. This parameters should only be changed if messages are exceeding a maximum message size parameter in your organization.

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015
-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015

Inputs

None.

Outputs

None.