Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
Exchange Server
Many DL with many members....
Last Post 06 Sep 2010 04:04 AM by
Rajitha
. 1 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Alex
New Member
Posts:1
27 Aug 2010 09:34 AM
Pls, help...
I need to fill a considerable quantity of lists with a considerable quantity of new members. The initial information in a format "List Name - the list of members"
How Update-DistributionGroupMember to force to understand the list of members?
Update-DistributionGroupMember -Identity Dlist1 -Members Members1, Members2, Members3 - work fine, but I have many dlist and many members...
Import-Csv Dlist.csv | foreach { Update-DistributionGroupMember -Identity $_.Alias -Members $_.Members } - dont work.....
Thanks
Rajitha
New Member
Posts:9
06 Sep 2010 04:04 AM
I have not tested this in 2010. Please try this.
Create your CSV file with DL names in one column and members in another column in the format "Member1","Member2"... with headings DL and Members
Import-Csv Dlist.csv | foreach { Update-DistributionGroupMember -Identity $_.Alias -Members $_.Members }. Let me know if you receive any errors.
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
Exchange Server
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2