Topic Last Modified: 2013-02-22

Verifies that the push notification service is working. The push notification service (Apple Push Notification Service and Microsoft Push Notification Service) provides a way to send notifications about events such as new instant messages or new voice mail to mobile devices like iPhones and Windows Phones, even if the Lync application on those devices is currently suspended or running in the background. This cmdlet was introduced in the cumulative update for Lync Server 2010: November 2011.

Syntax

Test-CsMcxPushNotification -AccessEdgeFqdn <String> [-Certificate <X509Certificate2>] [-Force <SwitchParameter>] [-OutLoggerVariable <String>] [-OutVerboseVariable <String>]

Examples

EXAMPLE 1

The command shown in Example 1 tests the push notification service accessed through the Edge server atl-edge-001.litwareinc.com.

Copy Code
Test-CsMcxPushNotification -AccessEdgeFqdn "atl-edge-001.litwareinc.com"

Detailed Description

The Apple Push Notification Service and the Lync Server Push Notification Service enable users running Lync on their Apple iPhone or Windows Phone to receive notifications about Lync events even when Lync Server is suspended or running in the background. For example, users can receive notice for events such as these:

- Invitations to a new instant messaging session or conference

- New instant messages

- New voice mail

Without the push notification service, users would receive these notices only when Lync Server was in the foreground and serving as the active application.

The Test-CsMcxPushNotification cmdlet provides a way for administrators to verify that the push notification service is working.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Test-CsMcxPushNotification cmdlet locally: RTCUniversalServerAdmins.

Parameters

Parameter Required Type Description

AccessEdgeFqdn

Required

System.String

Fully qualified domain name of the Access Edge server used to connect to the push notification service.

Certificate

Optional

System.Security.Cryptography.X509Certificates.X509Certificate2

Enables you to specify an X509 certificate to use for authentication purposes

Force

Optional

System.Management.Automation.SwitchParameter

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

OutLoggerVariable

Optional

System.String

When present, detailed output from running the cmdlet will be stored in the specified variable. This variable includes a pair of methods – ToHTML and ToXML – that can then be used to save that output to either an HTML or an XML file.

To store output in a logger variable named $TestOutput use the following syntax:

-OutLoggerVariable TestOutput

Note: Do not use prepend a $ character when specifying the variable name.

To save the information stored in the logger variable to an HTML file, use a command similar to this:

$TestOutput.ToHTML() > C:\Logs\TestOutput.html

To save the information stored in the logger variable to an XML file, use a command similar to this:

$TestOutput.ToXML() > C:\Logs\TestOutput.xml

OutVerboseVariable

Optional

System.String

When present, detailed output from running the cmdlet will be stored in the specified variable. For example, to store output in a variable named $TestOutput use the following syntax

-OutVerboseVariable TestOutput

Do not prepend a $ character when specifying the variable name.

Input Types

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

Return Types

The Test-CsMcxPushNotification cmdlet returns an instance of the Microsoft.Rtc.SyntheticTransactions.TaskOutput object.