Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

change DL to security group  using Powershell in Exchange 2010

Posted on 2014-10-08
8
Medium Priority
?
213 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
[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
  • 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
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

722 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