ADPrincipalGroupMembership

ADPrincipalGroupMembership
by JOHN

IT
random_image

특정 User ID가 어떤 Active Directory에 속해있는지 검색하는 명령어

Get-ADPrincipalGroupMembership <User ID> | select name

이렇게 명령어를 입력하면 아래와 같이 나온다.

name

------

Doamin Users


AD-Group-1

AD-Group-2

AD-Group-3

https://docs.microsoft.com/en-us/powershell/module/activedirectory/get-adprincipalgroupmembership?view=windowsserver2022-ps


https://docs.microsoft.com/en-us/powershell/module/activedirectory/get-adprincipalgroupmembership?view=windowsserver2022-ps

AD Powershell ActiveDirectory

3
Leave a Comment:
Search