驗證行動部署

 

上次修改主題的時間: 2011-11-03

部署 Microsoft Lync Server 2010 Mobility Service 和 Microsoft Lync Server 2010 自動探索服務之後,執行測試交易,以確認部署運作正確。您可以執行 Test-CsMcxP2PIM 來測試在兩個使用者之間傳送立即訊息。若要使用此測試交易,您需要兩個實際或測試使用者,以及他們的完整認證。

測試個人對個人立即訊息 (IM)

  1. 以 CsAdministrator 角色成員的身分登入任一部已安裝 Lync Server 管理命令介面和 Ocscore 的電腦。

  2. 啟動 Lync Server 管理命令介面:依序按一下 [開始]、[所有程式]、[Microsoft Lync Server 2010] 和 [Lync Server 管理命令介面]。

  3. 在命令列中輸入:

    Test-CsMcxP2PIM -TargetFqdn <FQDN of Front End pool> -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 -SenderSipAddress sip:UserName1@contoso.com -SenderCredential $tuc1 -ReceiverSipAddress sip:UserName2@contoso.com -ReceiverCredential $tuc2 -v