VasquezPL 0 Junior Poster

Dears,
I have a problem - I need to write VBS script which will show me a question: "Please enter string to search" and then to find that string in description filed of all groups in AD (limited to some OUs)

basicaly I need it to do sth like

dsquery group "OU=PL-PMPL,OU=PMI,OU=Users & Workstations,DC=PMINTL,DC=NET" -desc "*TEXT*" -limit 2000 | dsget group -samid

and export the result to sheet in excel...

Can anyone help me?
thx!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.