Active directory WMIC possible?

December 22, 2010 at 17:38:18
Specs: Windows XP, 2g
what would be the proper format to query active directory from the commandline using wmic?

example(psudo command):
wmic dfsroot userid=bob22 get email

See More: Active directory WMIC possible?

Report •

December 22, 2010 at 18:12:34
I don't have wmic so it's hard to know.
Does this tell you anything?

wmic /?

Life is too important to be taken seriously.


Report •

December 22, 2010 at 19:09:42
well, yes but its a little bit more complicated. I once found an example of the command and used it a few times and THOUGHT i saved the example into a file for future reference.

Had a reason today to use and realized i couldnt find the example. Been searchin the net for roughly 2 1/2 hours trying to find that same example with no luck so i figured id post it on here and cross my fingers someone else had used it before =/

Report •

December 22, 2010 at 19:15:58
You script WMI with the Windows Management Interface.
You script AD with the Active Directory Service Interface.
They are different interfaces for different objects with different purposes over different domains, and I'm pretty sure WMIC cannot interface with Active Directory. I suggest using a different program.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question