how to populate multiple users contacts

  • Thread starter Thread starter LDSPowershell
  • Start date Start date
L

LDSPowershell

Is there a way to add contacts to multiple accounts using powershell
or c# or vb. I've done a lot in powershell, a little in c# and none
in vb. I'll accept any of the above if someone could give me a head
start.
 
Do you mean in multiple Exchange mailboxes?
Sure, call Application.Session.GetSharedDefaultFolder(...,
olFolderContacts), then call Folder.Items.Add to create a new contact

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Correct, multiple brand new accounts, exchange 2007. I'm assuming
thats vba, thanks for the info.. it looks like i'll have to grab a
vba book, i've always wanted to learn a bit about vba.
 
Correct, multiple brand new accounts,  exchange 2007.  I'm assuming
thats vba,  thanks for the info.. it looks like i'll have to grab a
vba book, i've always wanted to learn a bit about vba.

ok, so its looking that is c#. I've just never used it in this way...
I'm not an expert by any means but I can dig around and usually get
things to work.
 
It does not really matter what language you are using.
What exactly are you having problems with?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
Correct, multiple brand new accounts, exchange 2007. I'm assuming
thats vba, thanks for the info.. it looks like i'll have to grab a
vba book, i've always wanted to learn a bit about vba.

ok, so its looking that is c#. I've just never used it in this way...
I'm not an expert by any means but I can dig around and usually get
things to work.
 
It does not really matter what language you are using.
What exactly are you having problems with?

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool




ok, so its looking that is c#.  I've just never used it in this way...
I'm not an expert by any means but I can dig around and usually get
things to work.

Im migrating some accounts to exchange and have ldap'd their old
contacts and put them in a csv file. I would like to have them
populated into the new accounts for the users. it can be a bit
difficult for a user to select import from the file menu and follow
the prompts... so it would save a few calls to have them already
populated when they open outlook. im just looking for an semi
automated way to get them in. i can go into each account and import
them in, but I really don't want to do that
 
Did you start writing any code?
Is there a specific Outlook object or method that you are having problems
with?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-

Im migrating some accounts to exchange and have ldap'd their old
contacts and put them in a csv file. I would like to have them
populated into the new accounts for the users. it can be a bit
difficult for a user to select import from the file menu and follow
the prompts... so it would save a few calls to have them already
populated when they open outlook. im just looking for an semi
automated way to get them in. i can go into each account and import
them in, but I really don't want to do that
 
Did you start writing any code?
Is there a specific Outlook object or method that you are having problems
with?

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-

Im migrating some accounts to exchange and have ldap'd their old
contacts and put them in a csv file.  I would like to have them
populated into the new accounts for the users.  it can be a bit
difficult for a user  to select import from the file menu and follow
the prompts... so it would save a few calls to have them already
populated when they open outlook. im just looking for an semi
automated way to get them in.  i can go into each account and import
them in, but I really don't want to do that

Im sitting in visual studio right now playing with code. no problems
yet that I need to ask question about, again Im not an expert in c# or
studio, but the web is a beautiful thing when it comes to finding how
to do things! which do you think would be easier, vb or c#?
 
It is whatever you are most comfortable with :-)
I'd personally prefer C#.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-

Im sitting in visual studio right now playing with code. no problems
yet that I need to ask question about, again Im not an expert in c# or
studio, but the web is a beautiful thing when it comes to finding how
to do things! which do you think would be easier, vb or c#?
 
It is whatever you are most comfortable with :-)
I'd personally prefer C#.

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-

Im sitting in visual studio right now playing with code.  no problems
yet that I need to ask question about, again Im not an expert in c# or
studio, but the web is a beautiful thing when it comes to finding how
to do things!  which do you think would be easier, vb or c#?

after I asked about vb or c# I realized that its really .net --
right--- thats why you say it doesn't matter. its all coming
together...I'm new to the MS thing but am finding it enjoyable.
 
Back
Top