ADPrincipalGroupMembership
ADPrincipalGroupMembership
by JOHN
IT
특정 User ID가 어떤 Active Directory에 속해있는지 검색하는 명령어
Get-ADPrincipalGroupMembership <User ID> | select name
이렇게 명령어를 입력하면 아래와 같이 나온다.
name
------
Doamin Users
AD-Group-1
AD-Group-2
https://docs.microsoft.com/en-us/powershell/module/activedirectory/get-adprincipalgroupmembership?view=windowsserver2022-ps
3
Leave a Comment: