It's so simple to extract it with Active Directory Module.
Let's see it..
Code :
Get-ADUser -Filter * -Searchbase
"dc=votredomaine,dc=no-ip,dc=org" | FT
Résultat :
It is also possible to extract it on csv format, here we extract all users of an O.U.
Get-ADUser -Filter * -Searchbase "ou=users,
dc=votredomaine,dc=no-ip,dc=org" |Export-CSV
"c:\toto\monfichier.csv" -notypeinformation
Aucun commentaire:
Enregistrer un commentaire