Edit

Share 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

Default (Default)

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

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

Prompts you for confirmation before executing the command.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

The Force parameter is not implemented for this cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Fqdn

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:Fqdn
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LimitedNotificationMode

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

{{Fill LimitedNotificationMode Description}}

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ManualOverride

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MaxHttpMessageSizeKb

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

{{Fill MaxHttpMessageSizeKb Description}}

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MaxPublishersPerBatch

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MaxRemotePublishersPerBatch

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

PARAMVALUE: UInt32

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MaxRemoteQueueThreadCount

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

{{Fill MaxRemoteQueueThreadCount Description}}

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NotificationBatchInterval

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NotificationBatchSize

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

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.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Applicable: Skype for Business Server 2015, Skype for Business Server 2019

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

None