User Tools

Site Tools


active_directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
active_directory [2021/03/21 19:36] stephenactive_directory [2021/04/06 09:01] (current) – external edit 127.0.0.1
Line 11: Line 11:
 To get just the top level groups: To get just the top level groups:
 <code powershell> <code powershell>
-Get-ADPrincipalGroupMembership -Identity $env:username | Select name +Get-ADPrincipalGroupMembership -Identity $env:username | Select name, GroupCategory, GroupScope, distinguishedName 
-Get-ADPrincipalGroupMembership -Identity 'username' | Select name+Get-ADPrincipalGroupMembership -Identity 'username' | Select name, GroupCategory, GroupScope, distinguishedName
 </code> </code>
  
active_directory.1616355383.txt.gz · Last modified: 2021/03/22 20:36 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki