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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!