lastlogondate

PowerShell Tip of the Week: Get duplicated AD groups

In this post, I want to share a simple method to find duplicated Active Directory objects. Get-ADGroup Recently I was looking for duplicated groups. I was using one of the ActiveDirectory module commands and a simple filter to find all groups. The Get-ADGroup cmdlet gets a group or performs a search to retrieve multiple groups from an Active Directory. The Identity parameter specifies the Active Directory group to get. You can identify a group …