Active Directory,  Guide,  Microsoft,  Powershell

Powershell – Export all Active Directory User Information to CSV
0 (0)

If you need to export all Active Directory user information to CSV, then you can use a simple Powershell script to carry this out.

First Import the Active Directory module:

Import-Module ActiveDirectory

Then get the user information from Active Directory. For the example below we are just going to grab all information, hence the * wildcard, but you can trim this down if you want to.

Get-ADUser -Filter * -Properties * | export-csv C:\TGH\ADUserInformation.csv

The export-csv part will then export all the user information into a CSV format. Just remember to change the proceeding path to where you want to save the CSV file.

Go to the location where you exported the CSV file to and open it using Excel or Notepad. You should now see all of the Active Directory user information.

Feedback

If you do have any questions or feedback on this guide, please feel free to leave us a message below in our comments section.

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 449 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

Avatar of A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over 12 years! IT expert in multiple areas for over 22 years. Sharing experience and knowledge whenever possible! Making IT Happen.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.