3,217
edits
Changes
m
→Pulling workstation names to hosts.xml from Active Directory OUs automatically with vbScript
= Pulling workstation names to hosts.xml from Active Directory OUs automatically with vbScript=
This script takes out all computer objects from your whole Active directory Tree, and writes the OU in the hosts.xml <source lang="vb">
Const ADS_SCOPE_SUBTREE = 2
textstream.close
Wscript.Echo "Finished..."
</source>
[[category:Documentation]]
[[category:Installation]]