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: Setting WSUS Registry Setting On/Off for Client Windows

# setWsusOnOff.ps1function setWsus{ param( [switch]$on, [switch]$off ) function wuRegistryIsOn{ # Check if this machine has…

Windows: How to Create Software Raid 1 Mirror of C:\ Volume or Windows System Drive

Desired Result: Required Work: # Check disksDISKPART> list diskDisk ### Status Size Free Dyn Gpt--------…

Microsoft Exchange Server Certificates

When Exchange Server certificates expire, it's the responsibility of the System Administrator to update those…