Solved

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

Posted on 2010-08-18
15
512 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
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 to another domain controller. Log onto the new domain controller with a user account t…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

705 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