共用方式為


Setting the Domain Functional Level

Applies To: Windows Server 2008 R2, Windows Server 2012

This topic explains how to use the Active Directory module for Windows PowerShell to set the domain functional level.

Example

The following example demonstrates how to set the domain functional level of the Fabrikam.com domain to Windows 2012:

Set-ADDomainMode -Identity FABRIKAM -DomainMode Windows2012Domain

Additional information

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

  • -Windows2003InterimDomain

  • -Windows2003Domain

  • -Windows2008Domain

  • -Windows2008R2Domain

  • -Windows2012Domain

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

In some cases, a domain functional level can be set to a lower value. For more information, see Understanding Active Directory Domain Services (AD DS) Functional Levels.