I'm trying to export IM chats logs from my Lync archive server. I've followed the instructions detailed at http://technet.microsoft.com/en-us/magazine/hh328432.aspx.
When I issue my command:
export-CSArchivingData -DBInstance <sqlserername> -StartDate 12/31/12 -EndDate 01/03/13 -OutputFolder "C:\SJS" -UserURI <emailaddress>
I get the following error:
export-CSArchivingData : WaitAll for multiple handles on a STA thread is not supported.
At line:1 char:1
+ export-CSArchivingData -DBInstance <sqlservername> -StartDate 12/31/12 -EndDate 01/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Rtc.A...ArchiveDataImpl:ExportArchiveDataImpl) [Export-CsArchivingData], NotSupportedException
+ FullyQualifiedErrorId : export-CSArchivingData,ExportArchiveData.ExportArchiveDataCmdlet
and no records are returned. Any ideas? This is Lync 2010 and I'm running this command from the administrator lync server management shell. I have full admin rights on the lync server machine and the sql server where the logs are stored.