Saving OCS User Settings Before a Lync Migration

During an OCS to Lync migration, existing OCS user settings, including user policies, are transitioned to Lync when the OCS pool is merged into the Lync deployment and OCS users are migrated from their home OCS pool to the Lync pool.

In many cases it is helpful to ensure that this transition was done properly and users have equivalent Lync functionality to what they had in OCS after the migration. But how do you verify this once the users have already been migrated over?

Answer: do a quick backup of your OCS user settings before you migrate your users. This gives you the ability to make sure that a user who was enabled for Public Instant Messaging for example (aka PIC) is also enabled for PIC after the user account has been migrated to Lync.

Below is small VBScript that you can customize to backup the existing OCS user settings. The script enumerates through all OCS enabled users and makes use of the OCS WMI MSFT_SIPESUserSetting class to access their current OCS settings, and outputs it to a file called called OCSUsers.txt:

Save the above script to a *.vbs file (e.g. OCSUsers.vbs). To execute it, just type the script name on a command line in a regular cmd window.

Note: if the OCS user policy value is blank for a user, the setting is to use the default Global policy setting.

While a script like this is good for a one-time verification, if you have larger user inventory and usage reporting needs, there are 3rd-party products such as Quest MessageStats which provide these types of reports for both OCS and Lync.

OCS Search

Loading

Legal

The posts and information on this blog are provided "as is" with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer or anyone else for that matter. All trademarks acknowledged. Copyright 2009 Curtis Johnstone.