K B
asked on
Import (New or) Set Distribution Groups with CSV Powershell
I need to create new distribution groups into Active Directory with these attributes (as the headers):
DisplayName Alias LegacyExchangeDN PrimarySmtpAddress ManagedBy EmailAddresses EmailAddresses02 EmailAddresses03 EmailAddresses04
How would we utilize a CSV of this nature to create/populate all the Distribution Groups?
Thank you!
DisplayName Alias LegacyExchangeDN PrimarySmtpAddress ManagedBy EmailAddresses EmailAddresses02 EmailAddresses03 EmailAddresses04
How would we utilize a CSV of this nature to create/populate all the Distribution Groups?
Thank you!
ASKER
Thank you for your reply. However, I have seen this page before and I don't see any that reference a CSV.
Scroll down to
"Create Bulk Distribution Groups from a CSV File"
HTH
"Create Bulk Distribution Groups from a CSV File"
HTH
Of yourse you have to add add'l parameters for the other fields you need.
Can't check right now if you can provide all required fields with New-DistributionGroup. It might be necessary to do an extra loop for example to set the owner or add add'l mail addresses.
Can't check right now if you can provide all required fields with New-DistributionGroup. It might be necessary to do an extra loop for example to set the owner or add add'l mail addresses.
ASKER
All the required fields are in the original question. Again, thank you for your reply.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://o365info.com/manage-distribution-groups-by-using/