TestimoX

API Reference

Command

Test-ADXDnsDelegation

Namespace ADPlayground.PowerShell
Inputs
System.String[]
Outputs
ADPlayground.Dns.DnsDelegationMismatch

Tests DNS delegation consistency on domain controllers.

Examples

Authored help example

Example 1: Run the DNS delegation test against the local domain controller


Test-ADXDnsDelegation
        

Example 2: Validate delegation consistency on two named domain controllers


Test-ADXDnsDelegation -ComputerName 'dc-01.contoso.com','dc-02.contoso.com'
        

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

Test-ADXDnsDelegation [-ComputerName <string[]>] [-FetchZones <Func`2>] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Optional domain controller names to query. Defaults to localhost.
FetchZones Func`2 optionalposition: namedpipeline: false
Optional zone fetch delegate (primarily for testing).

Outputs

ADPlayground.Dns.DnsDelegationMismatch