I have found some links that help explain DSQuery and in someways I can get it to work but not the way I want it to output.
basically what I am looking to do is pull 5 data fields from active directory and outputs them to an excel spreedsheet.
the five pieces of information that I need is.
User ID, First name, Lastname, Account Active or disabled, and Dial-In (VPN) Access
I believe there is a program CSVDE or something of that nature that may do this but that seem more confusing than DSQuery.