Answered Authorize a DHCP Server with powershell

  • Friday, June 22, 2012 12:10 PM
     
     

    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.

All Replies

  • Friday, June 22, 2012 12:47 PM
     
     Answered

    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 1:10 PM
     
     

    Thanks Grégory, that's the one:

    Add-DhcpServerInDC -DnsName server.dns.local