For example, the output resembles the following:
PS C:\install-addsforest -whatif -DomainName corp.contoso.com SafeModeAdministratorPassword: ********* Confirm SafeModeAdministratorPassword: ********* What if: Create a new Active Directory forest with the name 'corp.contoso.com'. Configure this server as the first Active Directory domain controller in a new forest. The new domain name is "corp.contoso.com". This is also the name of the new forest. The NetBIOS name of the domain: Automatically calculated Forest Functional Level: Default Domain Functional Level: Automatically calculated Additional Options: Global catalog: Yes DNS Server: No Database folder: C:\Windows\NTDS Log file folder: C:\Windows\NTDS SYSVOL folder: C:\Windows\SYSVOLNotice in this output that the install-addsforest -whatif cmdlet is used, and the entry for DNS Server is No. Despite this output, the DNS server is installed and configured as expected when the forest is created.
The password of the new domain Administrator will be the same as the password of the local Administrator of this computer.
However, the -whatif output is not displayed correctly in this automatically calculated case. The output is correct only when the -installdns argument is explicitly specified.
Article ID: 2737797 - Last Review: Sep 7, 2012 - Revision: 1