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
Solved

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

Posted on 2010-08-18
15
509 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 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