0 pts.
 Having trouble writing the output of a CmdLine entry for the dsquery utility
I am currently working on a VBScript that will tell me what computer names in Active Directory have been inactive for 4 weeks. I need to write this information into a text file so that the names can be verified or deleted from the text file. The next module of the script will delete those approved computer names from Active Directory. I’m having trouble writing the output of a CmdLine entry for the dsquery utility. I have written plenty of text files with known information, one line at a time but never written one that writes unknown output. What kind of help can you provide or which direction do I need to turn to?

Software/Hardware used:
ASKED: June 30, 2008  2:05 PM
UPDATED: July 8, 2008  4:20 PM

Answer Wiki:
In a DOS prompt situation or with batch files I like to use this: [command] > sample.txt Does this help?
Last Wiki Answer Submitted:  July 8, 2008  4:20 pm  by  Rexmo   15 pts.
All Answer Wiki Contributors:  Rexmo   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _