This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Associated blog post : https://blog.hophouse.fr/_posts/CheckResetPasswordRights.html | |
function Get-ADAllUserGroupMembership { | |
<# | |
.SYNOPSIS | |
Recursively retrieve all the groups where a specified group belongs to. | |
.EXAMPLE | |
PS> Get-ADAllUserGroupMembership -Server 10.10.10.10 -GroupName custom_admin | |
.PARAMETER Server |
OlderNewer