Pequena referência de comandos em PowerShell para configuração do DHCP no Windows Server
Adicionando um Scope:
>Add-DhcpServerv4Scope -Name "ADM" -StartRange 192.168.14.10 -EndRange 192.168.14.100 -SubnetMask 255.255.255.0 -State InActive
Configurando como ativo
>Set-DhcpServerv4Scope -ScopeId 192.168.14.0 -State Active
Especificando o DNS a nível de server options.
>Set-DhcpServerv4OptionValue -DnsServer 192.168.14.251
Roteador server options.
>Set-DhcpServerv4OptionValue -Router 192.168.14.254
Domain name.
>Set-DhcpServerv4OptionValue -DnsDomain contoso.com
Nenhum comentário:
Postar um comentário