Export (0) Print
Expand All

Get-UserPrincipalNamesSuffix

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-UserPrincipalNamesSuffix cmdlet to view the user principal name (UPN) suffixes in the Active Directory forest. The UPN suffixes are created in Active Directory Domains and Trusts.

Dd298092.note(en-us,EXCHG.140).gifNote:
This cmdlet was created primarily for the Exchange Management Console to populate lists in dialog boxes.


Get-UserPrincipalNamesSuffix [-OrganizationalUnit <ExtendedOrganizationalUnitIdParameter>]

Parameter Required Type Description

OrganizationalUnit

Optional

Microsoft.Exchange.Configuration.Tasks.ExtendedOrganizationalUnitIdParameter

The OrganizationalUnit parameter specifies the container where you search for all available UPN suffixes.

UPN suffixes assigned to an organizational unit are stored in the upnSuffixes attribute in the Organizational Unit object.

The default UPN is contained in the Canonical Name attribute on the Partitions container object in the configuration naming context. The default UPN suffix identifies the domain in which the user account is contained. When you create a user account in Active Directory, the default UPN suffix is the DNS name of the first domain in your domain tree.

If you create user accounts by using Active Directory Users and Computers, every user must have a UPN.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Mailbox Permissions topic.

Error Description

   

This example returns all of the UPN suffixes for the Active Directory forest.

Get-UserPrincipalNamesSuffix
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft