在 Lync Server 2013 中验证您的移动功能部署

 

上次修改的主题: 2013-02-12

Some information in this topic pertains to Cumulative Updates for Lync Server 2013: February 2013.

部署 Lync Server 移动服务和 Lync Server 自动发现服务后,运行测试事务以验证部署是否正常工作。 可以运行 Test-CsUcwaConference 来测试使用 Lync 2013 移动客户端在会议中创建、加入和通信的两个用户的能力。 若要使用此测试事务,需要两个实际用户或测试用户及其完整凭据。

使用 Test-CsMcxP2PIM 测试在使用 Lync 2010 Mobile 的两个用户之间发送即时消息。 与 Test-CsUcwaConference 类似,使用两个实际用户或两个预定义的测试用户。

测试 Lync 2013 移动版客户端的会议

  1. 以 CsAdministrator 角色的成员身份登录任何安装了 Lync Server 命令行管理程序和 Ocscore 的计算机。

  2. 启动 Lync Server Management Shell:单击 “开始”,单击 “所有程序”,单击 Microsoft Lync Server 2013,然后单击 Lync Server Management Shell

  3. 在命令行中键入:

    Test-CsUcwaConference -TargetFqdn <FQDN of Front End pool> -Authentication <TrustedServer | Negotiate | ClientCertificate | LiveID> -OrganizerSipAddress sip:<SIP address of test user 1> -OrganizerCredential <test user 1 credentials> -ParticipantSipAddress sip:<SIP address of test user 2> -ParticipantCredential <test user 2 credentials> -v
    

    可以在脚本中设置凭据,并将其传递给测试 cmdlet。 例如:

    $passwd1 = ConvertTo-SecureString "Password01" -AsPlainText -Force
    $passwd2 = ConvertTo-SecureString "Password02" -AsPlainText -Force
    $testuser1 = New-Object Management.Automation.PSCredential("contoso\UserName1", $passwd1)
    $testuser2 = New-Object Management.Automation.PSCredential("contoso\UserName2", $passwd2)
    Test-CsUcwaConference -TargetFqdn pool01.contoso.com -Authentication Negotiate -OrganizerSipAddress sip:UserName1@contoso.com -OrganizerCredential $testuser1 -ParticipantSipAddress sip:UserName2@contoso.com -ParticipantCredential $testuser2 -v
    

测试 Lync 2010 Mobile 的即时消息 (即时消息)

  1. 以 CsAdministrator 角色的成员身份登录任何安装了 Lync Server 命令行管理程序和 Ocscore 的计算机。

  2. 启动 Lync Server Management Shell:单击 “开始”,单击 “所有程序”,单击 Microsoft Lync Server 2013,然后单击 Lync Server Management Shell

  3. 在命令行中键入:

    Test-CsMcxP2PIM -TargetFqdn <FQDN of Front End pool> -Authentication <TrustedServer | Negotiate | ClientCertificate | LiveID> -SenderSipAddress sip:<SIP address of test user 1> -SenderCredential <test user 1 credentials> -ReceiverSipAddress sip:<SIP address of test user 2> -ReceiverCredential <test user 2 credentials> -v
    

    可以在脚本中设置凭据,并将其传递给测试 cmdlet。 例如:

    $passwd1 = ConvertTo-SecureString "Password01" -AsPlainText -Force
    $passwd2 = ConvertTo-SecureString "Password02" -AsPlainText -Force
    $tuc1 = New-Object Management.Automation.PSCredential("contoso\UserName1", $passwd1)
    $tuc2 = New-Object Management.Automation.PSCredential("contoso\UserName2", $passwd2)
    Test-CsMcxP2PIM -TargetFqdn pool01.contoso.com -Authentication Negotiate -SenderSipAddress sip:UserName1@contoso.com -SenderCredential $tuc1 -ReceiverSipAddress sip:UserName2@contoso.com -ReceiverCredential $tuc2 -v