Skip to content
  • How to start learning Linux
  • Labtech Implementation Stuff
  • Clogged
  • Active Directory DNS Troubleshooting
  • Some Roulette  Strat from Reddit
  • Mystery steel processing and testing
  • Croissants and Rose Lychee Cream
  • Mac and Cheese
  • DFS Replication: Requirements and Configuration
  • Services.msc not opening in Windows 11/10
  • Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store
  • Powershell How to get all groups that a user is a member of?
  • Home Energy Saving Tips
  • Changing NTFS Security Permissions using PowerShell
  • VALORANT’S 128-TICK SERVERS

Merserver

Its a website

  • Uncategorized
  • IT
  • Unreal Engine
  • GameDev
  • Interesting Stuff
  • Food
  • Web Design
  • Kubernetes
  • Music
  • Linux
  • Auto
  • Fishing
  • Gaming
  • Magic the Gathering
  • Toggle search form

Powershell How to get all groups that a user is a member of?

Posted on October 26, 2022 By samadmin

Get-ADPrincipalGroupMembership will do this.

Get-ADPrincipalGroupMembership username | select name

name
----
Domain Users
Domain Computers
Workstation Admins
Company Users
Company Developers
AutomatedProcessingTeam
IT

Post navigation

Previous Post: Home Energy Saving Tips
Next Post: Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store

Related Posts

How to start learning Linux IT
Create an Admin User Account Using CMD Prompt (Windows) IT
Active Directory DNS Troubleshooting IT
Strong Authentication in Active Directory Using a YubiKey IT
Connecting two FreePBX machines together IT
Labtech Implementation Stuff IT

Copyright © 2025 Merserver.

Powered by PressBook Masonry Dark