Solved

change DL to security group  using Powershell in Exchange 2010

Posted on 2014-10-08
8
200 Views
Last Modified: 2014-10-10
Hello

I'm looking for a PS command that will change a DL to a security group.

I know I can do this in AD so not need to tell me how to do it there.

Regards
0
Comment
Question by:BlakeBweb
  • 4
  • 3
8 Comments
 

Expert Comment

by:mmoniz
ID: 40368678
Hi there, I have gone to 2013 now but in 2010 I used this PS command:

Enable-DistributionGroup -Identity "name of group goes here"

hope that helps!
Mike
0
 

Author Comment

by:BlakeBweb
ID: 40368704
Hello,

Doesn't that command mail enable a distribution list which by default in 2010 is already mail enabled.?

Thanks
0
 

Expert Comment

by:mmoniz
ID: 40368824
Sorry you are correct, try this one

Set-DistributionGroup -Name "name of group goes here" -Type Security
0
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.

 

Author Comment

by:BlakeBweb
ID: 40370188
Hello,

I have tried that already and no success.

[PS] C:\>Set-DistributionGroup -Name myDL@mydomain.com -Type Security
A positional parameter cannot be found that accepts argument 'Security'.
    + CategoryInfo          : InvalidArgument: (:) [Set-DistributionGroup], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-DistributionGroup

Any other suggestions?
Thanks
0
 

Expert Comment

by:mmoniz
ID: 40371109
Sorry, I got that from the 2013 Command list, in looking thru 2010 commands I do not see any that will work the same.  My apologies!
0
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 40371287
You can use the AD module in exchange 2010 to convert the group to security..
Import-Module Activedirectory
Set-ADGroup TestDL -GroupCategory security

Open in new window

0
 

Author Comment

by:BlakeBweb
ID: 40372561
Thanks for the help guys.
Subsun - your suggestion worked.
Mmoniz -  sorry no cigar for you today.

Thanks
0
 

Author Closing Comment

by:BlakeBweb
ID: 40372563
Nice -  thanks for the solution Subsun
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

820 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