在 Lync Server 2013 中创建用于测试更新功能的设备Create a device to test update functionality in Lync Server 2013

 

上次修改的主题: 2013-02-23Topic Last Modified: 2013-02-23

可将测试设备添加到“测试设备”**** 页,然后使用此设备验证新更新的功能,之后再将更新部署到生产设备。You can add a test device to the Test Device page and then use this device to verify the functionality of new updates before deploying the updates to production devices. 您可以在整个 Lync Server 环境中全局 () 或在单个站点中测试设备。You can test a device globally (throughout your entire Lync Server environment) or within a single site. 可通过测试设备的媒体访问控制 (MAC) 地址或序列号标识测试设备。You identify a test device by its Media Access Control (MAC) address or serial number. 添加设备时,它将显示在 Lync Server 控制面板的 " 测试设备 " 页上的列表中。When you add a device, it appears in the list on the Test Device page of the Lync Server Control Panel.

添加测试设备To add a test device

  1. 打开浏览器窗口,然后输入管理员 URL 以打开 "Lync Server 控制面板"。Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. 有关可用于启动 Lync Server 控制面板的不同方法的详细信息,请参阅 Open Lync server 2013 "管理工具"。For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server 2013 administrative tools.

  2. 在左侧导航栏中,单击“客户端”****,然后单击“测试设备”****。In the left navigation bar, click Clients, and then click Test Device.

  3. 单击“新建”****,然后单击“全局测试设备”**** 或“站点测试设备”****。Click New, and then click either Global test device or Site test device.

  4. 执行下列操作之一:Do one of the following:

    • 如果单击了“全局测试设备”****,则跳到下一步。If you clicked Global test device, skip to the next step.

    • 如果单击了“站点测试设备”****,则从可用站点列表中选择一个站点,然后单击“确定”****。If you clicked Site test device, select a site from the list of available sites, and then click OK.

  5. 在“新建测试设备”**** 上的“设备名称”**** 中,键入设备的名称。In New Test Device, type a name for the device in Device name.

  6. 在“标识符类型”**** 下,单击“MAC 地址”**** 或“序列号”****。Under Identifier type, click either MAC address or Serial number.

  7. 在“唯一标识符”**** 框中,键入设备的 MAC 地址或序列号。In the Unique identifier box, type the MAC address or serial number of the device.

  8. 单击“提交”****。Click Commit.

使用 Windows PowerShell Cmdlet 创建测试设备Creating Test Devices by Using Windows PowerShell Cmdlets

可以使用 Windows PowerShell 和 New-CsTestDevice cmdlet 创建测试设备。Test devices can be created by using Windows PowerShell and the New-CsTestDevice cmdlet. 此 cmdlet 可从 Lync Server 2013 命令行管理程序或从 Windows PowerShell 的远程会话中运行。This cmdlet can be run either from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. 有关使用远程 Windows PowerShell 连接到 Lync Server 的详细信息,请参阅在上的 Lync Server Windows PowerShell 博客文章 "快速入门:使用远程 PowerShell 管理 Microsoft Lync Server 2010" https://go.microsoft.com/fwlink/p/?linkId=255876For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at https://go.microsoft.com/fwlink/p/?linkId=255876.

使用此 cmdlet 创建测试设备时,必须执行以下两个操作:When creating test devices using this cmdlet, you must do two things:

  • 指定 MACAddress 或 SerialNumber 为 IdentifierType。Specify either MACAddress or SerialNumber as the IdentifierType.

  • 指定设备标识时包括作用域。要在全局作用域创建新设备,请使用类似如下的语法:Include the scope when specifying the device Identity. To create a new device at the global scope use syntax similar to this:

    -Identity "global/WindowsPhone"
    

    要在站点作用域创建测试设备,请使用类似如下的语法:To create a test device at the site scope use syntax similar to this:

    -Identity "site:Redmond/WindowsPhone"
    

使用 MAC 地址创建测试设备To create a test device by using the MAC address

  • 以下命令在全局作用域创建测试设备,并使用 MAC 地址作为 IdentifierType:This command creates a test device at the global scope, and using the MAC address as the IdentifierType:

    New-CsTestDevice -Identity "global/WindowsPhone" -IdentifierType "MACAddress" -Identifier "01:02:03:04:05:06"
    

使用序列号创建测试设备To create a test device by using the serial number

  • 以下命令在站点作用域(对于 Redmond 站点)创建测试设备,并使用序列号作为 IdentifierType:This command creates a new test device at the site scope (for the Redmond site) and uses the serial number as the IdentifierType:

    New-CsTestDevice -Identity "site:Redmond/WindowsPhone" -IdentifierType "SerialNumber" -Identifier "01ABC5419JKR55T"
    

有关详细信息,请参阅 CsTestDevice cmdlet 的帮助主题。For more information, see the help topic for the New-CsTestDevice cmdlet.