API Reference
Command
Get-ADXDuplicateObject
Finds duplicate AD objects based on attribute values (e.g., name/UPN/mail/canonicalName). Uses the existing ADPlayground.DirectoryOps.DuplicateObjectDetector.
Examples
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[]
- Optional list of LDAP classes to include (e.g., user, group).
- Domain string
- DNS domain to search. Defaults to the current domain when omitted.
- Properties string[]
- Attributes to evaluate for duplicates (e.g., userPrincipalName, mail).