mjm21
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok I will try what khaaz suggested and it does not work. It hangs.
ASKER
Guys? Anything?
it hangs ? I have tried it on winXP and 2003 server and it seems to work.
what happens if you try
or
what happens if you try
wmic /?
or
wmic useraccount
ASKER
For some reason we cannot get this going. Closing ticket. Giving points but will not list as resolution to the public.
ASKER
Could not get this to work properly from our end
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.