Posted by: Preetam | October 17, 2007

Step04-MailboxEnabling

$OUName=read-host “Please enter the OU name in which you need to enable user’s mailboxes”

Write-host “”

Write-host “Below are the Mailbox data base and respective storage group”

Get-MailboxDatabase | Format-List Name,storagegroup

$DBName=read-host “Please enter the SgDB in which you wish to create this mailboxes”

Get-User -OrganizationalUnit $OUName | Enable-Mailbox -Database $DBName


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: