Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PowerShell (Microsoft) FAQ

Management With PowerShell

Creating groups by Zelandakh
Posted: 23 Jan 08

# Creating a mail enabled universal distribution group
new-distributiongroup -alias unidistgroup -name ôThe Big Distribution Groupö -type distribution -org Punters

# Creating a mail enabled universal security group
# This is not a desperately clever idea otherwise email administrators can add users to this group
new-distributiongroup -alias unisecgroup -name ôThe Big Security Groupö -type security -org Punters

# Creating a mail enabled dynamic distribution group
new-DynamicDistributionGroup -alias dyndistgroup -name ôThe Big Dynamic Groupö -recipientfilter {Company -eq "msexchange"} -org Punters

# Creating a mail enabled AD contact
new-mailcontact -alias ADcontact -name ôMay L Contact" -ExternalEmailAddress MayLContact@somewhere.com -org Punters

Back to PowerShell (Microsoft) FAQ Index
Back to PowerShell (Microsoft) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close