TestimoX

API Reference

Command

Get-ADXDuplicateObject

Namespace ADPlayground.PowerShell

Finds duplicate AD objects based on attribute values (e.g., name/UPN/mail/canonicalName). Uses the existing ADPlayground.DirectoryOps.DuplicateObjectDetector.

Examples

Generated fallback example

Generated fallback example from command syntax.


Get-ADXDuplicateObject -Class @('Value')
        

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-ADXDuplicateObject [-Class <string[]>] [-Domain <string>] [-Properties <string[]>] [<CommonParameters>]
#

Parameters

Class string[] optionalposition: namedpipeline: false
Optional list of LDAP classes to include (e.g., user, group).
Domain string optionalposition: namedpipeline: false
DNS domain to search. Defaults to the current domain when omitted.
Properties string[] optionalposition: namedpipeline: false
Attributes to evaluate for duplicates (e.g., userPrincipalName, mail).