so, if you want to have it in text file:

shell ' %comspec% /c dsquery "group OU=Some_school,OU=Schools,DC=school,DC=mycompany,DC=com -scope subtree -name Students" > c:\myfile.txt'
_________________________
!

download KiXnet