Your network contains an Active Directory domain named contoso.com. The domain contains a DHCP server named Server1that runs Windows Server 2012 R2.
You create a DHCP scope named Scope1. The scope has a start address of 192.168.1.10, an end address of 19
2.168.1.50, and a subnet mask of 255.255.255.192.
You need to ensure that Scope1 has a subnet mask of 255.255.255.0.
What should you do first?
A. From Windows PowerShell, run the
Remove-DhcpServerv4PolicyIPRange
cmdlet.
B. From the DHCP console, modify
the Scope Options of Scope1.
C. From Windows PowerShell, run the
Remove-DhcpServerv4Scope
cmdlet.
D. From Windows PowerShell, run the
Set-DhcpServerv4Scope
cmdlet.
E. From the DHCP console, modify the properties of Scope1.
F. From Windows PowerShell, run
the
Set-DhcpServerv4Policy
cmdlet.
Explanation:
Set-DhcpServerv4Scope sets the properties of an existing IPv4 scope on the Dynamic Host Configuration Protocol (DHCP) server service.
Syntax:
Parameter Set: WithoutRange
Set-DhcpServerv4Scope [-Sc
opeId] [-ActivatePolicies ] [-AsJob] [-CimSession ] [-ComputerName ] [-Delay ] [-Description ] [-LeaseDuration ] [-MaxBootpClients ] [-Name ] [-NapEnable ]
[-NapProfile ] [-PassThru] [-State ] [-SuperscopeName ] [-ThrottleLimit ] [-Type ] [-Confirm] [-WhatIf] [ ]
Parameter Set: WithRange
Set-DhcpServerv4Scope [-ScopeId] -EndRange
ress>-StartRange [-ActivatePolicies ] [-AsJob] [-CimSession ] [-ComputerName ] [-Delay ] [-Description ] [-LeaseDuration ] [-MaxBootpClients ] [-Name ] [-NapEnable
] [-NapProfile ] [-PassThru] [-State ] [-SuperscopeName ] [-ThrottleLimit ] [-Type ] [-Confirm] [-WhatIf] [ ]