
Part I: PowerShell for Exchange Fundamentals
128
To change attributes on the mail contact or mail user, use the Set-User and Set-Contact cmdlets to
specify the changes required. The following example shows how the
Set-User cmdlet is used to
configure the phone number and address for an Active Directory user object called John:
Set-User -Identity Amy@ExchangeExchange.local -Phone “(972) 660-5005” -
StreetAddress “1098 Huntington Street” -City “Paris” -StateOrProvince “TX” -
PostalCode “75460”
To use the Exchange Management Shell to add a user to an administrator role, run the following
command:
Add-ExchangeAdministrator -Role OrgAdmin -Identity ExchangeExchange\John
Creating and Modifying Group Objects
To facilitate mass distribution of email messages and other information to multiple users in an Exchange
organization, Exchange makes use of group objects. Security Group objects are also used to grant
multiple Recipients access to a shared resource. Exchange Server 2007 supports four group object types,
which are Mail - Enabled Universal Distribution or Security Group, Mail - Enabled Nonuniversal Groups,
and Dynamic Distribution Groups. For more information on these group types, see the “ Exchange
Server 2007 Group Objects ” section earlier in this chapter. In this section, we cover the creation and
modification or management of these group types. Keep in mind a significant ...