Jump to content

Recommended Posts

Posted

We have finally enabled this feature on our 2012 R2 DC's and everything seems to be working great...in fact a little too well.

 

We have DHCP setup to manage DNS, therefore as the DHCP server renews addresses it removes the old DNS records. This now seems to be putting all of these items in the recycle bin under the Type "dnsNode"

 

Is there anyway of removing the dnsNode from view? as we really don't need to see this data as it's highly unlikely we'd ever restore it.

  • 1 year later...
Posted (edited)

PowerShell:

 

 

Get-ADObject -searchbase "CN=Deleted Objects,DC=YourDomain,DC=com" -filter {objectClass -eq "dnsNode"} -IncludeDeletedObjects|Remove-ADObject

 

Edited by KLashbrook
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...