-
January 9th, 2012, 03:26 PM
#1
DSQuery in C#?
How would I convert this command line (from a .bat) into something I could use in C#?
Code:
dsquery user forestroot -samid "%%d" | dsget user -display -upn -office -tel -mobile -dept | FIND /V "dsget"
I am not familiar with bat scripting in the slightest, the above does what I want it to but I really don't understand what keywords in the command do what......if possible though I do need to get that working in c#, so what c# functionality would I want to look for and are there any tutorials on using it? I know there is a DSQuery function in c#, I just can't find very good examples on its usage.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|