Installing and Configuring Windows Server 2012 — Question 25
Your network contains an Active Directory domain named contoso.com. The domain contains computers that use IPv4 and IPv6.
You have a DHCP server named Server1 that runs Windows Server 2012.
You install Windows Server 2012 R2 on a server named Server2. You install the DHCP Server server role on
Server2.
You need to migrate the DHCP services from Server1 to Server2. The solution must meet the following requirements:
✑ Ensure that existing leases are migrated.
✑ Prevent lease conflicts.
Which cmdlet should you use to retrieve the required information from Server1?
Answer options
- A. Run the Get-DhcpServerv4Lease cmdlet and specify the ""AllLeases parameter.
- B. Run the Export-DhcpServer cmdlet and specify the Leases parameter.
- C. Run the Send-SmigServerData cmdlet and specify the ""computername cmdlet.
- D. Run the Add-DhcpServer4Lease cmdlet and specify the ""hostname parameter. B
Correct answer:
Explanation
The correct answer is B, as the Export-DhcpServer cmdlet with the Leases parameter allows you to export the current DHCP lease information from Server1, which is essential for migration. Option A is incorrect because Get-DhcpServerv4Lease retrieves lease information but does not facilitate the migration process. Options C and D are irrelevant to the task of migrating DHCP leases.