Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

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

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
HBPROCK
Asked:
HBPROCK
  • 7
  • 6
  • 2
1 Solution
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
Try to run this command on server or PC with Administrative Tools installed

dsquery group -name "<group_name>" | dsmod group -secgrp no
0
 
HBPROCKAuthor Commented:
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
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Krzysztof PytkoSenior Active Directory EngineerCommented:
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
 
ziameoCommented:
Spend the day watching some CBT nuggets on the subject.
0
 
ziameoCommented:
Spend the day watching some CBT nuggets on the subject.
0
 
HBPROCKAuthor Commented:
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
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
So, in this case you dont need Universal groups (because you have only 1 site and 1 domain). Use instead global distribution groups.
0
 
HBPROCKAuthor Commented:
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
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
ok, so we can script this situation. Are you able to export group names to text file, each name per line?
0
 
HBPROCKAuthor Commented:
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
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
You're welcome. But does it change all global groups to universal in whole domain, doesn't it?
0
 
HBPROCKAuthor Commented:
sorry no just under the ou that i specified that is just a global command for everything
0
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
OK :) Great! Wish you luck.
0
 
HBPROCKAuthor Commented:
im just giving points coz i need to ask another question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now