how to extract all user accounts to excel format SBS2008

I'm getting close to max users in SBS2008 is there a way to extract all the users to excel for reporting purposes. I need to make notes and following up with accounts not being used that can be deleted.
LVL 17
WORKS2011Austin Tech CompanyAsked:
Who is Participating?
 
SubsunConnect With a Mentor Commented:
Try..
Import-Module ActiveDirectory
Get-ADUser -Filter *  | export-CSV C:\users.csv

Open in new window


Or you can use CSVDE...
http://ss64.com/nt/csvde.html
CSVDE -f C:\MyUsers.csv -r (objectClass=User)

Open in new window

0
 
WORKS2011Austin Tech CompanyAuthor Commented:
perfect THANK YOU!!! used the CSVDE.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.