Prev Question
Next Question

Your network contains an Active Directory domain named
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?

A. .xml

B. .ps1

C. .bat

D. .cmd

The View Script button is used to view the corresponding PowerShell script The PowerShell script extension is .ps1, The Answer could logically be either a .cmd file
or a .bat file.
According to
PAL – Settings file created by Corel Painter or Palette of colors used by Dr. Halo bitmap images BAT – DOS batch file used to execute commands with the Windows
Command Prompt (cmd.exe); contains a series of line commands that typically might be entered at the DOS command prompt; most commonly used to start
programs and run maintenance utilities within Windows.
XML – XML (Extensible Markup Language) data file that uses tags to define objects and object attributes; formatted much like an .HTML document, but uses
custom tags to define objects and the data within each object; can be thought of as a text-based database.
CMD – Batch file that contains a series of commands executed in order; introduced with Windows NT, but can be run by DOS or Windows NT systems; similar to a
.BAT file, but is run by CMD.EXE instead of COMMAND.COM.
To create policies:
1. Right-click Policies and then click New Policy.
2. Next to Policy Name type Client1 Policy and then Click Next.
3. On the Configure Conditions for the policy page click Add.
4. In the Add/Edit Condition dialog box choose MAC Address next to Criteria type the MAC address for Client1 next to Value (001DB7A63D in this example) and
then click OK.

Which file extension should you use to save the script? 1

5. Click Next, and then in Configure settings for the policy type next to Start IP address and type next to End IP address.

Which file extension should you use to save the script? 2

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *