19.3.15

настройка dhcp сервера с помощью powershell

Add-WindowsFeature -IncludeManagementTools dhcp
netsh dhcp add securitygroups
Restart-service dhcpserver
Add-DhcpServerInDC SERVERNAME 172.16.0.11
Add-DhcpServerv4Scope –Name "Office" –StartRange 10.10.0.100 –EndRange 10.10.0.200 –SubnetMask 255.255.0.0
Add-Dhcpserverv4ExclusionRange –ScopeID 10.10.0.0 –StartRange 10.10.0.190 –EndRange 10.10.0.200
Set-DhcpServerv4OptionValue –Router 10.10.0.1
Set-DhcpServerv4Scope –ScopeID 10.10.0.0 –State Active
view raw gistfile1.txt hosted with ❤ by GitHub

Комментариев нет:

Отправить комментарий