Is there any way to get the Ms Communicator LCS contacts to a txt file.?

Hi,

Is there any way to get the Ms Communicator LCS contacts to a txt file.?

Regards
Sharath
LVL 11
bsharathAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeff_SchertzCommented:
Depending on the version used you can dump the Address Book contents to a text file:
http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=47

Otherwise the user's contact list is stored in the SQL back-end databases, you could probably use a custom SQL query to retrive the data for a specific user.
0
jaycaCommented:
Or use DBIMPEXP with the /user switch to export their contacts into a flat file.  If OCS, you will find it in the C:\Program Files\Microsoft Office Communications Server 2007\Server\Support directory. If LCS then it will be in the reskit.

Example cmd from Technet:
Dbimpexp.exe /hrxmlfile:"c:\SavedUserData.xml" /user:johna@contoso.com
Link: http://technet.microsoft.com/en-us/library/bb870377.aspx
0
bsharathAuthor Commented:
Thanks what is the command line to import it to OCS 2007?
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

jaycaCommented:
type dbimpexp /help.

Basically same command, but with the /import switch.  If you want to import it to OCS 2007.. then use the OCS 2007 version to export it and import it.... always use the newest version to export and import.
0
bsharathAuthor Commented:
Thanks
These 2 LCS and OCS are in 2 different forests and not the email address @somename.com is different for a user. When i import it says email address not found. Any views
0
jaycaCommented:
Well then how do you expect to import if these names are totally different?  If the usernames are the same, but the domain names are not then you would do the following:

Run DBIMPEXP
Create a script to open the flat file and change all DOMAINA references to DOMAINB.
Goto Domain B and enable all users.
Run DBIMPEXP /IMPORT with new-fixed file
--Now all user will be fixed.

IF the user names are different, then forget it unless you want to create a lookup script that transforms the data into a new flat file..

Those are your only options that I know of.  
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bsharathAuthor Commented:
Names are same just the @domain.com changes.
how can i do this change in xml file?
0
jaycaCommented:
Can you tried using a text editor you can do a FIND/REPLACE?

The last one I did it was faster for me to change them manually using find then pasting the new domainB.
0
bsharathAuthor Commented:
I did a find and replace and it works perfect. Any ideas on how to do this for bulk users
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.