DHCP SERVER POWERSHELL COMMAND
Add DHCP Scope Command
Add-DhcpServerV4Scope -name “zone1” -StartRange 10.0.2.20 -Endrange 10.0.2.50 -SubnetMask 255.255.255.0 -State Active
Add DHCP Server Reservation Command
Add-DhcpServerv4Reservation -ScopeID 10.0.2.0
-IPaddress 10.0.2.38
-ClientID “08-00-27-D0-D1-98”
-Description “Reservation
for Test1” -Name "Test2"
Get-DhcpServerv4Reservation -ScopeId 10.0.2.0
Get-DhcpServerv4Lease -ScopeId 10.0.2.0
Check Dhcp Server Free Ip Address within Scope
that are not begin Lease
Get-DhcpServerv4FreeIPAddress -ScopeID 10.0.2.0 -NumAddress 10
No comments:
Post a Comment