06 October 2014

Export Lync 2010 Archived Conversation Logs

Find your database instance name:

Get-CsConfigurationStoreLocation

Gives back:


server or clustername\DBInstanceName

Export all logs from a specified date for a specified user to a speciefied path:

Export-CsArchivingData -DBInstance "clustername\DBInstanceName" -StartDate 1/1/2014 -OutputFolder c:\temp\export -UserUri "sip:username@domain.com"

Export all logs from a specified date for everyone:

Export-CsArchivingData -DBInstance "clustername\DBInstanceName" -StartDate 1/1/2014 -OutputFolder c:\temp\export

There seems to be an issue with the -UserUri command, if you enter the full sipname then the command fails, so be sure to enter the username or alias.

No comments:

Post a Comment