PrepAway - Latest Free Exam Questions & Answers

Which file extension should you use to save the script?

Your network contains an Active Directory domain named contoso.com. All servers run Windows
Server 2012 R2. The domain contains a server named Server1.
You open Review Options in the Active Directory Domain Services Configuration Wizard, and then
you click View script.
You need to ensure that you can use the script to promote Server1 to a domain controller.
Which file extension should you use to save the script?

PrepAway - Latest Free Exam Questions & Answers

A.
.bat

B.
.cmd

C.
.ps1

D.
.xml

Explanation:
PowerShell scripts are saved with the extension “.ps1”.
From http://technet.microsoft.com/en-us/library/jj574105.aspx
The Review Options page in Server Manager also offers an optional View Script button to create a
Unicode text file that contains the current ADDS Deployment configuration as a single Windows
PowerShell script. This enables you to use the Server Manager graphical interface as a Windows
PowerShell deployment studio. Use the Active Directory Domain Services Configuration Wizard to
configure options, export the configuration, and then cancel the wizard. This process creates a valid
and syntactically correct sample for further modification or direct use.


Leave a Reply