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
  • 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

Labtech Implementation Stuff IT
How to move Windows Recovery Partition IT
How to setup an SFTP server with RSA public key authentication mechanism IT
DFS Replication: Requirements and Configuration IT
Strong Authentication in Active Directory Using a YubiKey IT
Create an Admin User Account Using CMD Prompt (Windows) IT

Copyright © 2025 Merserver.

Powered by PressBook Masonry Dark