在 Lync Server 2013 中删除设备更新规则Remove a Device Update rule in Lync Server 2013

 

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

删除设备更新规则会将其从设备更新队列中永久删除。Removing a device update rule takes it permanently out of the device update queue.

删除规则不同于从部署中的设备或测试设备中卸载更新。Removing a rule is different from uninstalling an update from the devices in your deployment or from your test devices. 若要从部署中卸载已批准的更新,请 还原 设备更新规则。To uninstall an approved update from your deployment, you restore the device update rule. 有关详细信息,请参阅 在 Lync Server 2013 中还原设备更新规则For details, see Restore a Device Update rule in Lync Server 2013. 若要卸载未通过测试设备批准的更新,请 重置 它。To uninstall an update you haven’t approved from your test devices, you reset it. 有关详细信息,请参阅 在 Lync Server 2013 中重置设备更新规则For details, see Reset a Device Update rule in Lync Server 2013.

您可以使用 Lync Server 控制面板或 Windows PowerShell 删除设备更新规则。You can remove a device update rule by using either Lync Server Control Panel or Windows PowerShell.

使用 Lync Server 控制面板删除设备更新规则To remove device update rules by using Lync Server Control Panel

  1. 使用分配给 CsUserAdministrator 角色或 CsAdministrator 角色的用户帐户登录到内部部署中的任何计算机。From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. 打开浏览器窗口,然后输入管理员 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.

  3. 在左侧导航栏中,单击 " 客户端",然后单击 " 设备更新 " 导航按钮。In the left navigation bar, click Clients, and then click the Device Update navigation button.

  4. 在 " 设备更新 " 页上,执行下列操作之一:On the Device Update page, do one of the following:

    • 若要删除一个规则,请选择要删除的规则。To remove one rule, select the rule you want to delete.

    • 若要删除所有规则,请单击 " 编辑 " 菜单,然后单击 " 全选"。To remove all rules, click the Edit menu, and then click Select All.

  5. 单击“编辑”****,然后单击“删除”****。Click Edit, and then click Delete.

使用 Windows PowerShell Cmdlet 删除设备更新规则Removing Device Update Rules by Using Windows PowerShell Cmdlets

还可以使用 Windows PowerShell 和 CsDeviceUpdateRule cmdlet 删除设备更新规则。Device update rules can also be removed by using Windows PowerShell and the Remove-CsDeviceUpdateRule 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.

从服务器中删除单个设备更新规则To remove a single device update rule from a server

  • 下面的命令从 dc2d9b1222ff9 上的 Web 服务器中删除设备更新规则 d5ce3c10-2588-420a-82ac-atl-cs-001.litwareinc.com。The following command removes the device update rule d5ce3c10-2588-420a-82ac-dc2d9b1222ff9 from the Web server on atl-cs-001.litwareinc.com.

    Remove-CsDeviceUpdateRule -Identity "service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9"
    

从服务器中删除所有设备更新规则To remove all the device update rules from a server

  • 此命令将从 atl-cs-001.litwareinc.com 上的 web 服务器中删除所有设备更新规则。This command removes all the device update rules from the web server on atl-cs-001.litwareinc.com.

    Get-CsDeviceUpdateRule -Filter "service:WebServer:atl-cs-001.litwareinc.com*" | Remove-CsDeviceUpdateRule
    

有关详细信息,请参阅 CsDeviceUpdateRule Cmdlet 的帮助主题。For details, see the Help topic for the Remove-CsDeviceUpdateRule cmdlet.