Editar

Partilhar via


Test-CsExStorageNotification

Verifies that the Skype for Business Server Storage Service running on a Front End server can subscribe to the Exchange mailbox notification service. This is done by having the cmdlet subscribe to the service, create an item, verify that notification of the new item is received, and then, optionally, delete that item unsubscribe from the service. This cmdlet was introduced in Lync Server 2013.

Syntax

Test-CsExStorageNotification
    -SipUri <String>
    [-Binding <String>]
    [-DeleteItem]
    [-Force]
    [-HostNameStorageService <String>]
    [<CommonParameters>]

Description

The Test-CsExStorageNotification cmdlet is used to verify that the Exchange notification service is able to notify Skype for Business Server any time updates are made to a user's Contact List. This cmdlet is valid only if you are using the unified contact store.

Skype for Business Server Control Panel: The functions carried out by the Test-CsExStorageNotification cmdlet are not available in the Skype for Business Server Control Panel.

Examples

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

Test-CsExStorageNotification -SipUri "sip:kenmyer@litwareinc.com" -Binding "NetNamedPipe"

The command shown in Example 1 tests to see if the Skype for Business Server Storage Service can connect to the Exchange Server mailbox notification service for the user sip:kenmyer@litwareinc.com. In this example, NetNamedPipe is used as the WCF binding.

Parameters

-Binding

Windows Communication Foundation (WCF) binding. A WCF binding determines the transport, encoding, and protocol details required for clients and services to communicate with each other. valid values are:

  • NetNamedPipe
  • NetTCP
Type:String
Aliases:b
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

-DeleteItem

When present, the test item will be deleted from the Exchange mailbox at the end of the text.

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

-Force

Suppresses the display of any non-fatal error message that might arise when running the command.

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

-HostNameStorageService

Fully qualified domain name of the server where the Skype for Business Server Storage Service is running. This parameter is required if the Binding is set to NetTCP.

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

-SipUri

SIP address of the Exchange Server mailbox where the test item should be created.

Type:String
Aliases:s
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019

Inputs

None. The Test-CsExStorageNotification cmdlet does not accept pipelined input.

Outputs

The Test-CsExStorageNotification cmdlet returns instances of the Microsoft.Rtc.Management.ResourceData object.