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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating mailboxes

Management With PowerShell

Creating mailboxes

by  Zelandakh  Posted    (Edited  )
# Creating a new mailbox in the Punters org
# Asks for a password before creation and uses that password for the user
$pswd = new-SecureString
new-Mailbox -alias "NewTestUserAlias" -name NewTestUser -password $pswd -database ôFirst Databaseö -org Punters

# Creating a new conference room mailbox
New-Mailbox -alias BigConfRoom -name ôBig Conference Roomö -database ôFirst Databaseö -org Punters -resourceType Room

# Creating a new equipment mailbox
New-Mailbox -alias coffeebiscuits -name ôCoffee and Biscuitsö -database ôFirst Databaseö -org Punters -resourceType Equipment

# Creating a shared mailbox
new-Mailbox -alias sharedmailbox -name ôThe Shared Mailboxö -database ôFirst Databaseö -org Punters -shared

# Creating a linked mailbox
# New-Mailbox -alias linkedmailbox -name ôThe Linked Mailboxö -database ôFirst Databaseö -org Punters -LinkedMasterAccount firstname.lastname@domain.com -LinkedDomainController
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