Modifier

Partager via


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".

Parameters

-Confirm

Prompts you for confirmation before executing the command.

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

-Force

The Force parameter is not implemented for this cmdlet.

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

-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
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-LimitedNotificationMode

{{Fill LimitedNotificationMode Description}}

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

-ManualOverride

This parameter is reserved for internal Microsoft use.

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

-MaxHttpMessageSizeKb

{{Fill MaxHttpMessageSizeKb Description}}

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

-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
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-MaxRemotePublishersPerBatch

PARAMVALUE: UInt32

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

-MaxRemoteQueueThreadCount

{{Fill MaxRemoteQueueThreadCount Description}}

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

-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
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-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
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-WhatIf

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

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

Inputs

None.

Outputs

None.