Add member in Distribution List from Sql file or Sql Server

Hi 
I want to add member in Distribution List in MS Exchange 2010 using MS Sql Database file
How to create connectivity between MS SQL file and MS Exchange 2010 ?
and manage DL also add and remove member from DL?

The answer to your question depends on the version of SQL Server and Exchange you are running.  If you have Exchange 2007 or higher, and if you have SQL Server 2010 or higher, you can load support for both in a PowerShell session.  Otherwise, you
will need to write an application to join the two.  It may be simplest to schedule a flat-file dump from your SQL Server database, and use that to pull DL membership into Exchange - I know several third party corporations that have done this for their
Exchange 2003 (and earlier) management add-ons.
And before you ask, it would take too much time for me to explain how you would need to connect to and interact with the SQL Server database using PowerShell (or how to dump a flat-file from it, for that matter) for me to do it here.  I suggest you
search the web for SQL Server PowerShell or SQL Server export
for that information.
Once you have the information from SQL Server, it's a simple task to run Add-DistributionGroupMember to add members and Remove-DistributionGroupMember for DL membership management.  I'll caution you, though - if you are going to do massive updates to
a large distribution group, it would probably be faster to use DL management in AD.  The reason for this is that you can add or remove several group members at once using the AD toolset, but you can only work with individual members with the above Exchange
commands.  And working with individual members means enumerating the entire group membership for each update - and with large groups, this takes a lot of time.

Similar Messages

  • Is there an easy way of creating a distribution list from an email with multiple addresses? Those addresses are not in your contacts already, and don't need to be.

    I want to be able to take all the email addresses someone else has used to distribute an email and create the same distribution list for myself for future use.  I don't want to add all those people to anywhere in my contacts list.  I just want them to be in my "new distribution list", like "soccer families", etc.  I tried to copy and paste, but didn't get anywhere. Maybe I was close, or maybe it isn't possible.  Thoughts?

    Ed on iPad wrote:
    I don't want them in contacts because they are simply a related group (like my sons current soccer team).  People I may never need to email again after a sports season.  I don't want to have to have these people in my contacts permanently. 
    You don't. When the season is over, delete them.
    But, the text clipping should work.
    The next IOS should have a feature "create mailing list from distribution list".  A fast and simple way to retain a distribution list from an email you received.  People get copied all the time using distribution lists they may want to reuse easily, like school, sports or work groups.  Oh well.
    How is that any different from adding them to Contacts? Here's the feedback page: http://www.apple.com/feedback/
    There is a set of Mail Scripts that has a function to Add Addresses from an email to any group. But, it doesn't work with Mountain Lion.

  • Since the last IOS update, I still can't drag distribution lists from my contacts to my email.  Apple has been absolutely no help, in spite of contacting them 5 times on this subject.  Any suggestions or help would be greatly appreciated.

    Since the last IOS update, I still can't drag distribution lists from my contacts to my email.  Apple has been absolutely no help, in spite of contacting them 5 times on this subject.  Any suggestions or help would be greatly appreciated.
    I have IOS  7.0.1 and updates are current.
    Pags1970

    No Mac can run any version of iOS, that is for iDevices only.
    Macs run OS X. What version of that do you have?

  • Move a distribution list from the forest root to a sub domain.

    Hello,
    I am looking for the best way to migrate a distribution list I have in the AD forest root to a subdomain.  Is there a way to do this without rebuilding it from scratch?  We have Windows 2012 R2 domain controllers with a Windows 2008 R2 functional
    level.
    Thanks!
    Shawn

    Hi Shawn,
    We can try using intraforest migration with ADMT. With the lateste updated ADMT v3.2, it supports Windows Server 2012 and 2012 R2, and we can download it from Microsoft Connect.
    Microsoft Connect
    http://go.microsoft.com/fwlink/?LinkId=401534
    Regarding ADMT and how to install it, the following article can be referred to for more information.
    ADMT Guide: Migrating and Restructuring Active Directory Domains
    http://technet.microsoft.com/en-us/library/cc974332(v=WS.10).aspx
    Installing ADMT in the Target Domain
    http://technet.microsoft.com/en-us/library/cc974370(v=WS.10).aspx
    Besides, regarding this topic, the following thread foucsed on the similiar question and can be worth taking a look.
    Moving Distribution List From Root to Child DC
    http://social.technet.microsoft.com/Forums/en-US/1edf8eee-66d1-496a-b51d-48e1f2124eeb/moving-distribution-list-from-root-to-child-dc?forum=winserverDS
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Hope it helps.
    Best regards,
    Frank Shen

  • HT1692 why does my ipad not pick up distribution lists from my contacts list?

    why does my ipad not pick up distribution lists from my contacts list?

    What is selected under the Music tab for your iPhone sync preferences with iTunes?

  • MAKE A DISTRIBUTION LIST FROM MY CONTACTS

    HOW DO I MAKE A DISTRIBUTION LIST FROM MY CONTACTS?

    Do you want to have a group email distribution list? If so, then create a New Group and give it a useful name. Select and drag into the group all those contacts you want. When you wish to send out a group email simply set the To: field to the group name you assigned to that group.

  • Double click to open .sql files with sql developer on mac osx

    hi,
    I am trying to double click a .sql file and open it with SQL Developer on Mac OSX lion. I have associated .sql files to SQL Developer. On clicking the file it opens the SQL developer application but does not open the actual .sql file. Any ideas?
    Thanks

    Hello,
    Did you find any solution to your problem ? My SQL Developer worked fine and could open additional SQL files. Now it only opens the first one when starting SQL Developer. Additionnal files cannot be opened. Even running sqldeveloper.exe from command line with a SQL file as parameter doesn't help.
    I'm on Windows 7, 64 bit, but the environment may not necessarily be the cause.
    Regards
    -- Alwin

  • How to run the .sql file in sql prompt?

    i want to run the .sql file in sql prompt

    Hi,
    You can navigate to the directory where the .sql files is stored and launch the SQL Prompt.
    After you login, you can run your script like this :
    SQL>@my_script.sql;
    Regards,
    Sandeep

  • When sending an email I used to be able to add a distribution list from my contacts, I now have to add each email address individually, does anyone know how I can add the whole list?

    When sending an email I used to be able to click on a distribution list in my contacts and it would add all the email addresses, I now have to add each email address individually and this takes a lot of time.  Could someone tell me how I can add a distibution list/group to my emails?

    Barney,
    I have four groups.
    I just typed the name of one of those groups in the To field on the iPhone's email, and received:
    Invalid Address
    "<group name>" does not appear to be a valid email address.  Do you want to send it anyway?
    I clicked continue and it remains in my outbox.
    Help is appreciated.
    Thanks,
    Michael

  • Is there a way to add an existing distribution list to a document?

    i created a distribution list with CVI1 and i am trying to add it to a document, NOT via the distribution list but from the document itself.
    via the "environment" menu, I can create a new list or change a list in which the document is already written in: but i cannot add an existing list from the document.
    any idea?

    i am aware  of that: that i why i asked this question. i need to upload distribution lists to be added to documents and i did not find a way to add the documents to the list (cvi2) in a recording: the amount of document i can add is limited to the amount of lines i see on the screen;
    my final goal is to add existing lists to documents or documents to lists, via upload (excel sheet or txt file) LSMW or other methods!
    any idea is welcome: i have searched and not found solutions

  • Distribution List from outlook won't synch to 3GS I phone

    I've created a distribution list in my Outlook contacts so I can email a group of people from my iphone but it won't synch over to the phone contacts. Any suggestions

    If you didn't get all the apps from 3GS, chances are it's because you haven't transfered purchases recently from the 3GS. Connect the 3GS to your computer and in iTunes go to File >Transfer Purchases to get any apps and music on the iphone into your itunes library.
    It's hard to tell from your post whether your computer is syncing at all witht he 4S. If it is, you should get all the apps next time you sync. If it's not, the first thing to check is your version of iTunes. Make sure you are using 10.5 or later or it won't be compatible with the 4S.
    As far as wiping your 3GS, just go to Settings > General > Reset > Erase All Content And Settings. This will set it up like a new iphone.

  • How to send email to external users using the distribution list from workflow

    I have created distribution list in SO23 with external email addresses.
    How I can use distribution list in "Send Mail component" or I should use another component?
    It works fine for a single email address. And distribution list works fine when I use it via SBWP.

    Hi,
      Take activity step instead of Mail step. User fm SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
    And use fm SO_DLI_READ_API1 to find list of user from    distribution list. You can    find how to use this fm in rule 30000012

  • How to add an SAP distribution list to transport?

    Hi All,
    I have created a shared distribution list in SAP using SO15. Can anyone suggest me how to add this list to a transport? or I need to create this in each environment.
    Please suggest on this issue.
    Thanks in advance
    Prady

    What does that mean? So I have to create it in each environment(i.e. Development/Quality/Production) explicitly. By no means I can transport this list then?
    Thanks for your quick response.
    With regards
    Prady

  • How do I add multiple text block records from text file?

    The data manager documentation (page 151) for MDM 5.5 SP3 indicates that one or more new text blocks can be added to the Text Blocks object table from files. It is noted that the files must be plain text files.
    I use notepad and create a text file with two lines as follows:
    Test 1
    Test 2
    When I try to add the text blocks following documentation mentioned above, it only adds one record for the Data Group I have chosen and the record contains the entry "Test 1" from the first line in the text file.
    How can I add multiple records to the data group from a file?

    From my testing it appears that you need to have one text file per text block record in Data Manager.
    I wrote VBA macro to so that I could input my text blocks into an Excel spreadsheet and then the macro will take the contents of each cell in a highlighted column and create one text file per cell.
    Then using Data manager, I can select all of the text files at once and it will import them, creating one record per text file.

  • Not loading from flat file using SQL*Loader

    Hi,
    I am trying to load from an excel file.
    first i converted excel file into csv file and save it as as dat file.
    in the excel file one column is salary and the data is like $100,000
    while converting xls to csv the salary is changed to "$100,000 " (with quotes and a space after the amount)
    after the last digit it will put a space.
    in the control file of sql*loader i had given
    salary "to_number('L999,999')"
    my problem is the space after the salary in the dat file.---> "$100,000 "
    what changes i have to make in the to_number function which is in the control file.
    Please guide me.
    Thanks & Regards
    Salih KM
    Message was edited by:
    kmsalih

    Thanks a lot Jens Petersen
    It's is loading ..........
    MI means miniute.
    am i correct.
    but i didn't get the logic behind that.
    can u please explain that.
    Thanks & Regards
    Salih KM

Maybe you are looking for

  • Can  you download itunes 2x on the same computer with different email address

    can you have 2 accounts for itunes on the same computer

  • How do I get iTunes to refresh its database?

    I have now twice imported an mp3 Audiobook into iTunes, attempting to get it onto my iPod. Both times the tracks don't show up in iTunes but I can hunt for them in Finder and they are there in iTunes' folders, duplicated! Searching on any of the albu

  • Loading a dropdown box

    I am having a nightmare of a time with this, and I know it should be easy. I have a dashboard named "Dashboard - Main" with a dropdown box named "DropDown1" and I want to populate it with the results of a query named "Query1", with the field that I w

  • Same CSS but slightly wider layout

    I built a simple website with Dreamweaver CS6 at http://www.ottawapatentagency.com The website has only 1 CSS file specifiying a 2 colum layout with a vertical spry menu, but a few pages have a slightly wider layout. For example, the page 'Our Servic

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component. I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i tr