Solved

Convert imported Active Directory groups in mail enabled Distrubution groups in Exchange 2007

Posted on 2010-08-18
15
506 Views
Last Modified: 2012-05-10
Hi I have imported a load of users and groups form an old SBS 2000 server using the command line utility CSVDE and imported them onto a SBS 2008 server. All of the user acoount I have then pulled back in to the sbs console by running the Change user role for user accounts which has then created all the mailboxes and these are fine. I now also have a load of groups that I have imported and also the member within these groups but I want to make these Distrubtion groups so they can recieve email.
I cant find anyway of doing this please can anyone help.
Regards

HBP
0
Comment
Question by:HBPROCK
  • 7
  • 6
  • 2
15 Comments
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462206
Try to run this command on server or PC with Administrative Tools installed

dsquery group -name "<group_name>" | dsmod group -secgrp no
0
 

Author Comment

by:HBPROCK
ID: 33462231
Hi thanks what does that do? I have been looking around and I think I need to change all my groups to Universal distrubution groups but not to sure what the powershell command line is.
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462264
Do you have more that one site or domain in your environment?

Security group are groups which can be assigned to resources and can be a e-mail groups. Distribution groups are only e-mail groups. Domain local/Universal/Global is only scope of group.

Read this article, maybe it would be helpful
http://technet.microsoft.com/en-us/library/cc755692(WS.10).aspx

but this command which i wrote is changing group type from security to distribution. You can use text file with more groups to do it automatically.
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462277
And if you really want to set them as universal scope you have to add at the and of command -scope u, so

dsquery group -name "<group_name>" | dsmod group -secgrp no -scope u
0
 

Expert Comment

by:ziameo
ID: 33462280
Spend the day watching some CBT nuggets on the subject.
0
 

Expert Comment

by:ziameo
ID: 33462290
Spend the day watching some CBT nuggets on the subject.
0
 

Author Comment

by:HBPROCK
ID: 33462313
No its a single site as the new server is win 2008 SBS. It tried one of the imported groups as a test and It would only apear in Exchange 2007 Distrubution group wizard when I changed it to universal group manually.

If only I have 5 mins I would watch them all day unfortunatly im on site on a live install.
0
Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 500 total points
ID: 33462369
So, in this case you dont need Universal groups (because you have only 1 site and 1 domain). Use instead global distribution groups.
0
 

Author Comment

by:HBPROCK
ID: 33462418
In Exchnage 2007 they have to be universal groups as you get issues with global groups mail dissapearing. Also the groups they are currently set to global dont appear in the exchange distrubtion wizard as soon as I change them to universal they appear. The problem is I have hundreads of them and so want to change them all in bulk using powershell
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462436
ok, so we can script this situation. Are you able to export group names to text file, each name per line?
0
 

Author Comment

by:HBPROCK
ID: 33462660
Hi thanks for your reply I have found the command for poweshell now its

Get-Group  | Where {$_.GroupType -eq "Global"} | Set-Group -Universal

This worked
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462688
You're welcome. But does it change all global groups to universal in whole domain, doesn't it?
0
 

Author Comment

by:HBPROCK
ID: 33462727
sorry no just under the ou that i specified that is just a global command for everything
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33462788
OK :) Great! Wish you luck.
0
 

Author Closing Comment

by:HBPROCK
ID: 33662769
im just giving points coz i need to ask another question
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ACTIVE DIRECTORY 12 27
Exchange 2013 - Restore deleted mailbox from DPM 5 16
Secondary DC 3 10
Office 365 vs. In-House 3 19
Resolve DNS query failed errors for Exchange
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now