在 Lync Server 2013 中刪除現有 CDR 設定設定集合Delete an existing collection of CDR configuration settings in Lync Server 2013

 

主題上次修改日期: 2013-02-23Topic Last Modified: 2013-02-23

詳細通話記錄 (CDR) 讓您能夠追蹤點對點即時訊息工作階段、Voice over Internet Protocol (VoIP) 電話通話,以及會議通話之類的使用狀況。這個使用狀況資料包含有關通話者雙方身分、通話時間以及通話時間長度的資訊。Call Detail Recording (CDR) enables you to track usage of such things as peer-to-peer instant messaging sessions, Voice over Internet Protocol (VoIP) phone calls, and conferencing calls. This usage data includes information about who called whom, when they called, and how long they talked.

當您安裝 Microsoft Lync Server 2013 時,系統會為您建立單一、全域的 CDR 配置設定集合。When you install Microsoft Lync Server 2013, a single, global collection of CDR configuration settings is created for you. 系統管理員也可以選擇建立自訂的設定集合,以套用於個別網站。Administrators also have the option of creating custom setting collections that can be applied to individual sites. 根據設計,在網站範圍設定的設定會優先于在全域範圍設定的設定。By design, settings configured at the site scope take precedence over settings configured at the global scope. 如果您刪除網站範圍的設定,則會使用通用設定在該網站中管理 CDR。If you delete site-scoped settings, then CDR will be managed in that site by using the global settings.

請注意,您也可以「刪除」全域設定。Note that you can also “delete” the global settings. 不過,全域設定實際上不會被移除。However, the global settings will not actually be removed. 相反地,該集合中的所有屬性都會重設為預設值。Instead, all the properties in that collection will be reset to their default values. 例如,預設會在 CDR 設定設定的集合中啟用清除。For example, by default purging is enabled in a collection of CDR configuration settings. 假設您修改全域集合以停用清除。Suppose you modify the global collection so that purging is disabled. 如果您稍後刪除全域設定,所有屬性都會重設為其預設值。If you later delete the global settings, all the properties will be reset to their default values. 在此情況下,這表示會再次啟用清除。In this case, that means that purging will once again be enabled.

您可以使用 Lync Server 控制台或 Remove-CsCdrConfiguration Cmdlet 來移除 CDR 設定設定。You can remove CDR configuration settings by using the Lync Server Control Panel or the Remove-CsCdrConfiguration cmdlet.

使用 Lync Server 控制台移除 CDR 設定設定To remove CDR configuration settings with Lync Server Control Panel

  1. 在 [Lync Server 控制台] 中,按一下 [ 監控和封存]。In Lync Server Control Panel, click Monitoring and Archiving.

  2. 在 [ 詳細通話記錄 ] 索引標籤上,選取要移除之 CDR 設定的集合 (或集合) 。On the Call Detail Recording tab, select the collection (or collections) of CDR settings to be removed. 若要選取多個集合,請按一下第一個集合,按住 Ctrl 鍵,然後按一下 [其他集合]。To select multiple collections, click the first collection, hold down the Ctrl key, and click additional collections.

  3. 按一下 [ 編輯],然後按一下 [ 刪除]。Click Edit, and then click Delete.

  4. 在 [Lync Server 控制台] 對話方塊中,按一下 [確定]。In the Lync Server Control Panel dialog box, click OK.

使用 Windows PowerShell Cmdlet 移除 CDR 設定設定Removing CDR Configuration Settings by Using Windows PowerShell Cmdlets

您可以使用 Windows PowerShell 和 Remove-CsCdrConfiguration Cmdlet 來刪除詳細通話記錄設定設定。You can delete call detail recording configuration settings by using Windows PowerShell and the Remove-CsCdrConfiguration cmdlet. 您可以從 Lync Server 2013 管理命令介面或從 Windows PowerShell 的遠端會話中執行此 Cmdlet。You can run this cmdlet 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」 at 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.

移除指定的 CDR 配置設定集合To remove a specified collection of CDR configuration settings

  • 此命令會移除套用至 Redmond 網站的 CDR 設定設定:This command removes the CDR configuration settings applied to the Redmond site:

    Remove-CsCdrConfiguration -Identity "site:Redmond"
    

移除所有套用至網站範圍的 CDR 設定設定To remove all the CDR configuration settings applied to the site scope

  • 此命令會移除所有套用至網站範圍的 CDR 設定設定:This command removes all the CDR configuration settings applied to the site scope:

    Get-CsCdrConfiguration -Filter "site:*" | Remove-CsCdrConfiguration
    

移除所有停用詳細通話記錄的 CDR 設定設定To remove all the CDR configuration settings that disable call detail recording

  • 此命令會移除已停用通話詳細資料記錄的所有 CDR 設定設定:This command removes all the CDR configuration settings where Call Detail recording has been disabled:

    Get-CsCdrConfiguration | Where-Object {$_.EnableCDR -eq $False} | Remove-CsCdrConfiguration
    

如需詳細資訊,請參閱 Remove-CsCdrConfiguration Cmdlet 的 [說明] 主題。For more information, see the help topic for the Remove-CsCdrConfiguration cmdlet.