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

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

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

Message par Clippy »

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 Computer → Local User / Groups → Groups 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 : 9242
Inscription : mer. 22 avr. 2026, 17:21

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 »