How to export search results

G

Guest

I need to export the search results to a .txt or .xls
document. Windows Explorer does not seem to have that
capability.
Can you advise on how I could get the search results of
Windows Explorer into a document? May be it can be done in
DOS?
 
M

Matjaz Ladava [MVP]

Do you mean the search of active directory or search of files. You can right
click on search result and select Save search option. For Active directory,
you can create a script for search and save results in a file. There are
sample scripts located at
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp ,
and It is really easy to create on which saves search result in a file. I
can help you create one if you'll have problems.
Another option would be to use dsquery commandline command (you must install
Windows Server 2003 admin tools). The query would be something like

dsquery user -name * > output.txt

See your help for more info on dsquery command.

--
Regards

Matjaz Ladava, MCSE, MCSA, MVP
Microsoft MVP - Active Directory
(e-mail address removed), (e-mail address removed)
http://ladava.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top