BlakeBweb
asked on
change DL to security group using Powershell in Exchange 2010
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
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
ASKER
Hello,
Doesn't that command mail enable a distribution list which by default in 2010 is already mail enabled.?
Thanks
Doesn't that command mail enable a distribution list which by default in 2010 is already mail enabled.?
Thanks
Sorry you are correct, try this one
Set-DistributionGroup -Name "name of group goes here" -Type Security
Set-DistributionGroup -Name "name of group goes here" -Type Security
ASKER
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 : PositionalParameterNotFoun d,Set-Dist ributionGr oup
Any other suggestions?
Thanks
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 : PositionalParameterNotFoun
Any other suggestions?
Thanks
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!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help guys.
Subsun - your suggestion worked.
Mmoniz - sorry no cigar for you today.
Thanks
Subsun - your suggestion worked.
Mmoniz - sorry no cigar for you today.
Thanks
ASKER
Nice - thanks for the solution Subsun
Enable-DistributionGroup -Identity "name of group goes here"
hope that helps!
Mike