OCS Script: This Perl script will enable archiving of user messages in OCS. Archiving is important to maintain legal compliance if your users are involved in any corporate litigation and so their data and communications must be saved, which may include instant messages.
The script takes a text file as input, that contains a list of user accounts for which you want to enable archiving. The text file may contain the users' common name (cn) or their NT4 logon name (samAccountName). The script then finds the user and set's their msRTCSIP-ArchivingEnabled attribute to 4 (enabled). Setting this attribute to 0 disables archiving.