Posted On October 8, 2021

Quick 1-liner to Get a User’s Group Memberships

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Quick 1-liner to Get a User’s Group Memberships
PS C:\Windows\system32> Get-ADPrincipalGroupMembership kimconnect|select name

name
----
Domain Admins
Enterprise Admins
Cloud Admins
Kimconnect Admins

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: 1-Liner to Install Windows Photo Viewer for Windows 10

I've thought that Windows Photo Viewer is a nicely optimized and lightweight program to preview…

Transfer Domain Controller Roles (Legacy Commands)

# Simple commands: netdom query fsmo ntdsutil roles connections connect to server SRVI-DC01 q transfer…

Deploying LDAP / Active Directory Self Service Password Portal

Overview: There are several choices of platforms to deploy Password Manager: Kubernetes, Docker, Windows, and…
Other project: DragonCoin.com