How to retrieve the list of users in active directory by power shell

Copper Contributor

Hi,

I will like to know how to retrieve all the users who exists in the active directory by powershell.

 

Your help is much appreciated :)

 

Thanks

2 Replies

@lgtyar 

 

Get-Aduser -Filter *

But that's too simple I guess, what do you want? Please check https://docs.microsoft.com/en-us/powershell/module/activedirectory/get-aduser?view=windowsserver2022... for more options 

Did this anwers your question?