Topic Last Modified: 2013-02-21
Verifies that the Lync Server Storage Service running on a Front End server can subscribe to the Microsoft Exchange Server 2013 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 <SwitchParameter>]
[-Force <SwitchParameter>] [-HostNameStorageService
<String>]
|
Examples
Example 1
The command shown in Example 1 tests to see if the Lync 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.
Copy Code | |
---|---|
Test-CsExStorageNotification -SipUri "sip:kenmyer@litwareinc.com" -Binding "NetNamedPipe" |
Detailed Description
The Test-CsExStorageNotification cmdlet is used to verify that the Microsoft Exchange Server 2013 notification service is able to notify Lync Server 2013 any time updates are made to a user's Contact List. This cmdlet is valid only if you are using the unified contact store.
To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell command-line interface prompt:
Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Test-CsExStorageNotification"}
Lync Server Control Panel: The functions carried out by the Test-CsExStorageNotification cmdlet are not available in the Lync Server Control Panel.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
SipUri |
Required |
System.String |
SIP address of the Exchange Server mailbox where the test item should be created. |
Binding |
Optional |
System.String |
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 |
DeleteItem |
Optional |
System.Management.Automation.SwitchParameter |
When present, the test item will be deleted from the Exchange mailbox at the end of the text. |
Force |
Optional |
System.Management.Automation.SwitchParameter |
Suppresses the display of any non-fatal error message that might arise when running the command. |
HostNameStorageService |
Optional |
System.String |
Fully qualified domain name of the server where the Lync Server Storage Service is running. This parameter is required if the Binding is set to NetTCP. |
Input Types
None. The Test-CsExStorageNotification cmdlet does not accept pipelined input.
Return Types
The Test-CsExStorageNotification cmdlet returns instances of the Microsoft.Rtc.Management.ResourceData object.