New PowerShell cmdlets for DHCP Server in Windows Server 2012 R2

by [Published on 3 April 2014 / Last Updated on 3 April 2014]

Tip explains new PowerShell cmdlets introduced for DHCP in Windows Server 2012 R2

The following new DHP PowerShell cmdlets have been introduced in Windows Server 2012 R2:

  • Add-DhcpServerSecurityGroup : Adds security groups to a DHCP server.
  • Add-DhcpServerv4MulticastExclusionRange: Adds a range of addresses to exclude from a multicast scope.
  • Add-DhcpServerv4MulticastScope: Adds a multicast scope on the DHCP server.
  • Get-DhcpServerDnsCredential: Gets an account that the DHCP Server service uses to register or deregister client records on a DNS server.
  • Get-DhcpServerv4MulticastExclusionRange: Retrieves the exclusion range for a specified multicast scope.
  • Get-DhcpServerv4MulticastLease: Retrieves multicast leases for a specified scope name.
  • Get-DhcpServerv4MulticastScope: Gets multicast scope objects.
  • Get-DhcpServerv4MulticastScopeStatistics: Gets multicast scope statistics.
  • Get-DhcpServerv4SuperscopeStatistics: Returns statistics for superscopes.
  • Remove-DhcpServerDnsCredential: Removes the credential that the DHCP Server service uses to register or deregister client records on a DNS server.
  • Remove-DhcpServerv4MulticastExclusionRange: Removes a range of addresses previously excluded from a multicast scope.
  • Remove-DhcpServerv4MulticastLease: Removes one or more multicast scope leases for a specified multicast scope or IP address.
  • Remove-DhcpServerv4MulticastScope: Removes multicast scopes.
  • Rename-DhcpServerv4Superscope: Renames a superscope.
  • Repair-DhcpServerv4IPRecord: Reconciles inconsistent lease records in the DHCP database.
  • Set-DhcpServerDnsCredential: Sets credentials that the DHCP Server service uses to register or deregister client records on a DNS server.
  • Set-DhcpServerv4MulticastScope: Modifies the properties of a multicast scope.

About Nirmal Sharma

Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services. He is specialized in Directory Services, Microsoft Clustering, Hyper-V, SQL and Exchange and has been involved in Microsoft Technologies since 1994. In his spare time, he offers technical help by writing tips and articles. Nirmal can be reached at nirmal_sharma@mvps.org.

Featured Links