Skip to main content
Version: 2.1.0

Test-MtAdNonAutoReplicationConnectionCount

SYNOPSIS

Checks for non-auto-generated Active Directory replication connections.

SYNTAX

Test-MtAdNonAutoReplicationConnectionCount [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Active Directory replication connections can be automatically generated by the Knowledge Consistency Checker (KCC) or manually created by administrators. Non-auto-generated (manual) connections may be necessary for specific scenarios but should be documented and reviewed regularly as they bypass automatic topology optimization.

Security Best Practice:

  • Prefer auto-generated connections for standard replication topology
  • Manual connections should be documented with business justification
  • Regularly review manual connections to ensure they are still needed
  • Excessive manual connections may indicate topology issues

EXAMPLES

EXAMPLE 1

Test-MtAdNonAutoReplicationConnectionCount

Returns $true if replication connection data is accessible.

PARAMETERS

-ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES

https://maester.dev/docs/commands/Test-MtAdNonAutoReplicationConnectionCount