編輯

共用方式為


Get-CsPresenceManagementState

Use the Get-CsPresenceManagementState to return the notification settings of a computer or pool. The management state settings determine the batching and timing of Skype for Business Server notifications.

Syntax

Get-CsPresenceManagementState
   [[-Fqdn] <Fqdn>]
   [-Force]
   [<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 --------------------------

Get-CsPresenceManagementState -Fqdn "atl-mcs-001.litwareinc.com"

This example returns the management state of a pool specified by its fully qualified domain name (FQDN).

Parameters

-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 report. The computer or pool should be referenced by using its fully qualified domain name (FQDN). For example, -ComputerName "atl-mcs-001.litwareinc.com". If a pool is specified, the output contains the management state of all the computers in the pool. 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

Inputs

None

Outputs

Microsoft.Rtc.Management.PresenceMaintain.Cmdlet.PresenceManagementState