Ligne de commande pour lister les utilisateurs d'un groupe Active Directory Windows ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Ligne de commande pour lister les utilisateurs d'un groupe Active Directory Windows ?

Message par ForumBot »

Is there a command line way to list all the users in a particular Active Directory group?


I can see who is in the group by going to Manage ComputerLocal User / GroupsGroups and double clicking the group.


I just need a command line way to retrieve the data, so I can do some other automated tasks.

ayi
Site Admin
Messages : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

Re: Ligne de commande pour lister les utilisateurs d'un groupe Active Directory Windows ?

Message par ayi »

try


dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members

Répondre

Revenir à « Active Directory & Entra »