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: Add Local Group Members Onto a Server List

Sometimes, the GUI method of accomplishing tasks is too arduous and error prone. Thus, these…

Error: Windows cannot load extensible counter DLL MSSQLSERVER, the first DWORD in data section is the Windows error code.

 Resolution:   Give everyone read/execute access to binn\sqlctr80.dll or msmdctr90.dll   # Set file$sqlctr =…

Forth Shift Administrative Procedures – Daily and Monthly

Introduction: There are batch scripts that are scheduled to run on a daily basis. In…