PrepAway - Latest Free Exam Questions & Answers

What two commands should you run?

HOTSPOT
Your network contains an Active Directory forest name fabrikam.com. The forest contains two domains
named fabrikam.com and contoso.com. All servers run Windows Server 2012 R2.
The forest contains a DHCP server named Server1 and a DNS server named Server2.
You need to recommend a solution to ensure that any computers that are neither members of
contoso.com nor fabrikam.com receive a DNS suffix of guest.fabrikam.com.
What two commands should you run? To answer, select the appropriate options in the answer area.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Box 1: Add-DhcpServerv4Policy
Box 2: Fqdn NE,*.Fabrikam.com,*.contoso.com
Example:
This example creates a server level policy for all foreign clients that are not members of the local domain
contoso.com. The policy matches clients that have an FQDN that does not contain the value
contoso.com.
Windows PowerShell
PS C:\\> Add-DhcpServerv4Policy -Name ForeignDevices -Condition OR -Fqdn NE,*.contoso.com
Box 3: Set-DhcpServerv4DnsSetting
Box 4: -ComputerName Server2.fabrikam.com
Box 5: -PolicyName ForeignDevices
Example: This example sets DNS update configuration settings for the sever policy ForeignDevices to
enable DNS registration of clients under the DNS suffix guestdomain.com. The command specifies the
computer, named dhcpserver.contoso.com, that runs the DHCP server service.
Windows PowerShell
PS C:\\> Set-DhcpServerv4DnsSetting -ComputerName dhcpserver.contoso.com -DnsSuffix
guestdomain.com -PolicyName ForeignDevices
Note: Add-DHCPServerv4Policy
The Add-DhcpServerv4Policy cmdlet adds a new policy either at the server level or at the scope level.
The policy name must be unique at the level, either server or specific scope, where the policy is addedand should have at least one condition as specified by the CircuitId, ClientId, Fqdn, MACAddress,
RelayAgent, RemoteId, SubscriberId, UserClass, or VendorClass parameter.

2 Comments on “What two commands should you run?


Leave a Reply