共用方式為


Lync Server Admin Guide: Managing Monitoring

This article is part of the Microsoft Lync Server 2010 Administration Guide: PowerShell Supplement.

Create a Site Policy for Call Detail Recording

  • To create a CDR policy for a site

To enable Call Detail Recording for a site, use the New-CsCdrConfiguration cmdlet:

New-CsCdrConfiguration -Identity site:Redmond -EnableCDR $True –EnablePurging $True –KeepCallDetailForDays 30 –KeepErrorReportForDays 30

For more information

Create a Site Policy for Quality of Experience

  • To create a QoE policy for a site

To enable Quality of Experience monitoring for a site, use the New-CsQoEConfiguration cmdlet:

New-CsQoEConfiguration -Identity site:Redmond –EnableQoE $True –EnablePurging $True -KeepQoEDataForDays 30

 

 

For more information

 

 

 

Enable Call Detail Recording

  • To enable CDR

To enable Call Detail Recording for a site, set the value of the EnableCDR property to True:

Set-CsCdrConfiguration -Identity site:Redmond -EnableCDR $True

 

 

For more information

 

 

 

Enable Quality of Experience

  • To enable QoE

To enable Quality of Experience monitoring for a site, set the value of the EnableQoE property to True:

 

Set-CsQoEConfiguration -Identity site:Redmond –EnableQoE $True

 

 

For more information

 

Configure Call Detail Recording

  • To specify retention of CDR data

To specify the number of days CDR data will be retained, use the Set-CsCdrConfiguration cmdlet and the KeepCallDetailForDays and KeepErrorReportForDays parameters:

Set-CsCdrConfiguration -Identity site:Redmond –EnablePurging $True –KeepCallDetailForDays 30 –KeepErrorReportForDays 30

 

 

For more information

 

 

 

 

Configure Quality of Experience

  • To specify retention of QoE data

To specify the number of days QoE data will be retained, use the Set-CsQoEConfiguration cmdlet and the KeepQoEDataForDays parameter:

Set-CsQoEConfiguration -Identity site:Redmond –EnablePurging $True -KeepQoEDataForDays 30

 

 

For more information

 

Delete a Site Policy for Call Detail Recording

  • To delete a CDR policy

To delete the Call Detail Recording configuration settings for site, use the Remove-CsCdrConfiguration cmdlet:

Remove-CsCdrConfiguration -Identity site:Redmond

 

To delete all the per-site settings, use this command:

 

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

 

 

For more information

 

 

 

 

Delete a Site Policy for Quality of Experience

  • To delete a QoE policy

To delete the Quality of Experience configuration settings for site, use the Remove-CsQoEConfiguration cmdlet:

 

Remove-CsQoEConfiguration -Identity site:Redmond

To delete all the per-site settings, use this command:

 

Get-CsQoEConfiguration –Filter "site:*" | Remove-CsQoEConfiguration

For more information