以管理员身份将联系人添加到特定用户 [英] Add Contacts to perticular user as a admin
问题描述
我想在Exchange服务器上以组织管理员身份登录,我想添加一些联系人列表到特定用户,我也想向该用户添加一些日历事件。我将举一个例子
I want to login as an organization admin in exchange server and i want to add some list of contacts to perticular user and also i want to add some calendar events to that user. I will give one example
作为组织的管理员,我们假设一封电子邮件为admin@myorganization.com并登录powershell
As a admin of the organization lets assume an email as admin@myorganization.com and logged into powershell
然后我有组织中的一些电子邮件为user1 @ myorganization.com,user2 @ myorganization.com,User3 @ myorganization.com。
then i have some emails with in organization as user1@myorganization.com , user2@myorganization.com ,User3@myorganization.com .
我想只将联系人添加到user1@myorganization.com。我怎么能在powershell或c#中做到这一点?任何人都可以帮忙吗?
I want to add only contacts to user1@myorganization.com . How can i do this in powershell or c#?? Can any one help on this?
推荐答案
如果它只是几个邮箱然后你可以使用你需要的联系人/日历信息创建一个PST,然后使用New-MailboxImportRequest导入邮箱。
If it's just a few mailboxes then you can create a PST with the contacts/calendar info you need then import into the mailbox using New-MailboxImportRequest.
如果你需要批量执行此操作,请查看这些链接使用Exchange Web服务托管API:
If you need to do this in bulk then take a look at these links which use the Exchange Web Services Managed API:
http://mikepfeiffer.net/2011/01/creating-calendar-items-with-powershell-and-the-ews-managed-api/
https: //code.msdn.microsoft.com/office/Exchange-2013-Create-289539a3
这篇关于以管理员身份将联系人添加到特定用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!