Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Mail Enabled Contact

Management With PowerShell

Creating a Mail Enabled Contact

by  markdmac  Posted    (Edited  )
Creating a mail enabled contact is fairly simple via the GUI but you might want to do it with PowerShell if you have a bunch to make. Below is the code needed to do so. Just replace the parts in [red]red[/red] to match your user name/email and domain information.


Code:
New-MailContact -ExternalEmailAddress 'SMTP:[red]mark@thespidersparlor.com[/red]' -Name '[red]Mark D. MacLachlan[/red]' -Alias '[red]MarkDMacLachlan[/red]' -OrganizationalUnit '[red]spidersparlor.local[/red]/Users' -FirstName '[red]Mark[/red]' -Initials '[red]D[/red]' -LastName '[red]MacLachlan[/red]'
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top