Any authorized domain user can use PowerShell to fire off the cmdlets given below and obtain this information.
This can be accomplished from the configs app, the Command Prompt, andWindows PowerShell.
Once the snap-in is installed on your PC, you must then roll out the module in PowerShell.

you might find the MSI files for your version of Windowshere.
Once installed, restart the computer.
If you prefer installing it using the command line, refer to the sections below.

trigger the following command:
The AD PowerShell Module will now be installed.
Another way to install it on a Windows client PC is directly from PowerShell itself.
Let us now continue to see how to install it on a Windows Server.

CN is Common Name and DC is Domain Controller.
Note that the-Identityparameter only shows 10 properties for a user account (out of nearly 120).
In the case of multiple Domain Controllers, you’re able to specify the DC using the-Serverparameter.

Enter the credentials for the user account to be used for the other domain and click Ok. Each parameter must be separated by a comma.
it’s possible for you to also export the results into a CSV or a text file.
it’s possible for you to find a complete list of the parameters on thisMicrosoft post for Get-ADUser.
0
Get weekly insights, tips and exclusive content delivered straight to your inbox.
Talk to us straight and get your questions answered right away
source: www.itechtics.com