In a child domain, when running Get-WinDNSRecords the cmdlet outputs nothing at all.
When running Get-WinDNSRecords -IncludeDetails it doesn't look in the right place for ForestDnsZones.
e.g. it uses SearchBase DC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=child,DC=parent,DC=local which results in Error: Directory object not found. as it should have a SearchBase of DC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=parent,DC=local
In a child domain, when running
Get-WinDNSRecordsthe cmdlet outputs nothing at all.When running
Get-WinDNSRecords -IncludeDetailsit doesn't look in the right place for ForestDnsZones.e.g. it uses SearchBase
DC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=child,DC=parent,DC=localwhich results inError: Directory object not found.as it should have a SearchBase ofDC=child.parent.local,CN=MicrosoftDNS,DC=ForestDnsZones,DC=parent,DC=local