Set DHCP server credentials with Set-DhcpServerDnsCredentialsĪdd a scope for the IP address range 10.1.1.1 through 10.1.1.254. Set-DHCPServerDnsCredential -ComputerName 'DHCPServer'Īfter you issue this command, the cmdlet prompts you to enter the credentials.