• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2565
  • 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 Solution
Import-Module ActiveDirectory
Get-ADUser -Filter *  | export-CSV C:\users.csv

Open in new window

Or you can use CSVDE...
CSVDE -f C:\MyUsers.csv -r (objectClass=User)

Open in new window

WORKS2011Austin Tech CompanyAuthor Commented:
perfect THANK YOU!!! used the CSVDE.
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.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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