• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2462
  • Last Modified:

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.
1
WORKS2011
Asked:
WORKS2011
1 Solution
 
SubsunCommented:
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now