Bagikan melalui


Creating a UPN Suffix for a Forest

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to create a new user principal name (UPN) suffix for the users in a forest. Creating an additional UPN suffix helps simplify the names that are used to log on to another domain in the forest.

Example

The following example demonstrates how to create a new UPN suffix for the users in the Fabrikam.com forest:

Set-ADForest -UPNSuffixes @{Add="headquarters.fabrikam.com"}

Additional information

You can use the following parameters when you set many of the common values that are associated with forest management in Active Directory Domain Services (AD DS):

  • -SPNSuffixes

  • -UPNSuffixes

For a full explanation of the parameters that you can pass to Set-ADForest, at the Active Directory module command prompt, type Get-Help Set-ADForest –detailed, and then press ENTER.