Changes
→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=
== Single Profile Method ==
This script takes out all computer objects from your whole Active directory Tree, and writes the OU in the hosts.xml
</source>
== Multiple Profile Method ==
Alternatively if you want hosts listed with each OU they reside within '''separately''' to allow you to apply software to the higher level OUs, this should do the trick:
<source lang="vb">