I know how to click on the Network tab in Windows Explorer and access Active Directory with the GUI but what I need to do requires me to access many many user objects and I could do everything by hand but that's way too tedious. I was going to write a simple batch script using
dsquery user but using
dsquery requires me to install certain administrative tools from Microsoft which requires administrative privileges. I DO have the ability to create an elevated CMD but I can not install most things without administrative privileges. Since I can do it through a GUI, I assume it is possible to do through scripting. My last resort is to write a vbs script that controls the cursor and keyboard to do it automatically but I don't wish to do that.
Is it possible for me to query the Active Directory with a script?