Skip to main content

Manage Exchange Users

Problem

You want to get and modify information about user domain accounts from the Exchange Management Shell.

Solution

To get and set information about Active Directory users, use the GetUser and SetUser cmdlets, respectively:

$user = GetUser *preeda*

$user | FormatList *

To update Preeda’s title to Senior Vice President:

$user | SetUser –Title "Senior Vice President" $user.Title

Discussion

Active Directory accounts are an integral part of working with Exchange 2007. While you will often want to modify the mailboxes of domain users, GetUser and SetUser lets you work with the user accounts themselves.

For more information about the GetUser cmdlet, type GetHelp GetUser. For more information about the SetUser cmdlet, type GetHelp SetUser.

If you need dedicated infrastructure for managing Exchange users, consider a UK Dedicated Server for greater control over user administration, mailbox management, PowerShell automation, server configuration, and Windows-based email workloads.

Help Category