Solved

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

Posted on 2010-08-18
15
511 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

 
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
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

736 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