How Long is Lync Persistent Chat Data Kept?

How long is Lync Persistent Chat data kept?  Until you delete it.  You can be forgiven for being confused by the default chat history setting in the Persistent Chat Configuration section of the Lync Control Panel, I know I was.  However, default chat history is defined as “the number of chat messages that will be processed for each room upon first request” and it should be noted that “Persistent Chat Server will cache these messages in memory, so if you increase this number, more messages will be cached. You can always access historical content by search.”.  This is all per: http://technet.microsoft.com/library(OCS.15)/ms.lync.lscp.PersistentChatConfig.aspx.  As stated, it’s important to note: “Persistent Chat Server will cache these messages in memory, so if you increase this number, more messages will be cached. You can always access historical content by search.”.

PCHistory

So, they’re still there, waiting for you.  But now how do you delete them?  That’s what the PowerShell command Clear-CsPersistentChatRoom is for.  To remove content before this time last year for example, run:

Clear-CsPersistentChatRoom -Identity “pchat.domain.com\chatroom” -EndDate “5/19/2012”

Hopefully you found this helpful, please let me know if it did!

generic viagrageneric viagrabuy viagracheap generic viagraviagra onlineviagra
buy viagraover the counter viagraviagra genericorder viagrabuy viagrageneric viagra online