Link to home
Start Free TrialLog in
Avatar of mjm21
mjm21Flag for United States of America

asked on

How to get a list of user profiles from a workstation and export to CSV?

How to get a list of user profiles from a workstation and export to CSV?
Avatar of t-max
t-max
Flag of Israel image

I'm not sure the question is specific enough on what you want.
To get a list of user profiles, you can just dir "C:\Documents and Settings" to get the list of profiles stored in the server.
As for exporting it to csv, depends on which details you want to export. If it's only the list of names inside the directory above, it will be enough to save one name per line.
ASKER CERTIFIED SOLUTION
Avatar of khaaz
khaaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjm21

ASKER

Ok I will try what khaaz suggested and it does not work.  It hangs.
Avatar of mjm21

ASKER

Guys?  Anything?
Avatar of khaaz
khaaz

it hangs ? I have tried it on winXP and 2003 server and it seems to work.
what happens if you try

wmic /?

Open in new window


or

wmic useraccount

Open in new window



Avatar of mjm21

ASKER

For some reason we cannot get this going.  Closing ticket.  Giving points but will not list as resolution to the public.
Avatar of mjm21

ASKER

Could not get this to work properly from our end