Get Duplicate users in a forest August 12, 2022 Jeevan BobbaGeneral, Powershell No Comment (Get-aduser -filter * -server Domainname:3268 | Group-Object -Property UserprincipalName | ?{$PSItem.Count -gt 1 -and $PSItem.Name -ne “”}).group |export-csv c:\temp\duplic.csv -NoTypeInformation ADreplicationFile delitionPort numbersPowershellremote file deletionremove-aduserreplication « Get users Group and members of the groups Discovering Share Permissions(ACL) on Windows Servers using PowerShell » Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website