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: Check File Encoding UTF7, UTF8, UTF16, UTF32, ASCII

$filePath='C:\Windows\System32\Drivers\etc\hosts' function getFileEncoding($filePath) { # Checking the byte order mark (BOM) or first 4 bytes…

Connecting to Dell EqualLogic PS series SAN using Cisco console cable (72-3383-01)

If a console cable isn't available, one may create one using an existing Cisco cable…

LDAP Ubuntu Client Setup

Install the client application: sudo apt-get update sudo apt-get -y install libnss-ldapd libpam-ldapd ldap-utils nscd…