API Reference
Command
Get-ADXDnsZoneOverview
Returns a review-oriented overview of Microsoft DNS zones across domain DNS servers.
Examples
Example 1: Return a domain-wide DNS zone overview snapshot
Get-ADXDnsZoneOverview -Domain 'contoso.com'
Example 2: Return per-zone summaries for review
Get-ADXDnsZoneOverview -Domain 'contoso.com' -AsZone | Format-Table ZoneName, HostingServerCount, HasSettingDrift, ScavengingOwnerCount
Example 3: Return review notes for odd or inconsistent zone settings
Get-ADXDnsZoneOverview -Domain 'contoso.com' -AsReviewItem
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-ADXDnsZoneOverview [-Domain <string>] [-AsItem] [-AsReviewItem] [-AsZone] [-DnsServer <string[]>] [<CommonParameters>]#Parameters
- Domain string
- Domain name associated with the overview.
- AsItem SwitchParameter
- Emit each per-server zone row instead of the overview snapshot.
- AsReviewItem SwitchParameter
- Emit each review item instead of the overview snapshot.
- AsZone SwitchParameter
- Emit each aggregated per-zone summary instead of the overview snapshot.
- DnsServer string[]
- Explicit DNS servers to query. When omitted, domain controllers are enumerated from the domain.
Outputs
ADPlayground.Dns.DnsZoneOverviewItem, ADPlayground.Dns.DnsZoneOverviewReviewItem, ADPlayground.Dns.DnsZoneOverviewSummaryItem, ADPlayground.Dns.DomainDnsZoneOverviewSnapshot