none
Authorize a DHCP Server with powershell

    Question

  • Hi

    I'm running two Server 2012 RC servers and have just installed the DHCP role.

    I want to authorize them in AD using PowerShell - is there a cmdlet to do this, or do I still have to use netsh?

    Thanks, Ant.

    Friday, June 22, 2012 12:10 PM

Answers

  • Hi,

    Doesn't have a 8 Beta / 2012 RC to check now but I think it's :

    Add-DHCPServerInDC

    Regards,

    • Marked as answer by Anthony Hayes Friday, June 22, 2012 1:10 PM
    Friday, June 22, 2012 12:47 PM

All replies

  • Hi,

    Doesn't have a 8 Beta / 2012 RC to check now but I think it's :

    Add-DHCPServerInDC

    Regards,

    • Marked as answer by Anthony Hayes Friday, June 22, 2012 1:10 PM
    Friday, June 22, 2012 12:47 PM
  • Thanks Grégory, that's the one:

    Add-DhcpServerInDC -DnsName server.dns.local

    Friday, June 22, 2012 1:10 PM