This blog is dedicated to Ms Exchange 2007 , Active Directory , MSCS Services articles and demos , Its all about Microsoft Exchange 2007 .

5th
DEC

How to assign ownership rights on Distribution Group

Posted by Usman under Exchange Management Shell

You can use following cmdlet to assign ownership rights on distribution groups.

Add-AdPermission -identity “Group Name” -User “User’s SamAccountname” -AccessRights WriteProperty -Properties “Member”

-identity : Group display name instead of email id of group
-User : User’s samaccount name

Example :

Add-AdPermission -identity “New Group” -User “Ali” -AccessRights WriteProperty -Properties “Member”

In above example , User Ali will get full rights to add/remove members from distribution through Global Address Book.

2nd
DEC

How to Create Bulk MailBoxes in Exchange 2007

Posted by Usman under Exchange Management Shell

You have to create a CSV file to create bulk mailboxes exchanges in following format.

alias name UPN database password displayname firstname lastname samaccountname
AliJa Ali Jan Ali.Jan@domain.com Mailbox Database password Ali Jan Ali Jan AliJa

import-csv CreateRecipients.csv | foreach {$pswd = ConvertTo-SecureStri
ng $_.Password -asplaintext -force; new-mailbox -alias $_.alias -name $_.name -u
serprincipalname $_.UPN -database $_.database -org Bulk -Password $pswd -display
name $_.name -firstname $_.firstname -lastname $_.lastname -samaccountname $_.sa
maccountname}

Note :    CreateRecipients.csv   ( CSV File Name)
-Org Bulk ( Bulk is a name of organizational unit in active directory)

2nd

How to create Bulk Email Contacts in Exchange2007

Posted by Usman under Exchange Management Shell

You need to create a CSV file to create bulk email contacts in exchange 2007. You also need to create a Separate OU for contacts.

DisplayName EmailAddress
User A UserA@domain.com

Import-Csv Test.csv | ForEach { New-MailContact -Name $_.displayName -ExternalEmailAddress $_.Emailaddress -OrganizationalUnit “Contacts” }

You can add more fields according to you requirement such as , First Name , Last Name .