Easier to put users in security groups than OUs - you can only be in 1 OU but multiple groups.
Code below looks for users in group called "ma users" and copies the file listed at the start (c:\temp\special.doc) into their homedir. Not sure if that's the sort of thing you're trying to do.
Code:
sGroup="ma users"
sFile="c:\temp\special.doc"
set ofso=createobject("scripting.filesystemobject")
Set oRootDSE=GetObject("LDAP://RootDSE")
sRoot=oRootDSE.Get("DefaultNamingContext")
Set oConn = CreateObject("ADODB.Connection")
oConn.Provider = "ADsDSOObject"
oConn.Open
Set oCommand = CreateObject("ADODB.Command")
oCommand.ActiveConnection = oConn
oCommand.properties("Page Size")=100
oCommand.CommandText = "<LDAP://" & sRoot & ">;(sAMAccountName=" & sGroup & ");sAMAccountName,distinguishedname;subTree"
on error resume next
Set oRS = oCommand.Execute
if not ors.eof then
wscript.echo ors("distinguishedname")
set oGroup=getobject("LDAP://" & ors("distinguishedname"))
for each oMember in ogroup.members
set oUser=getobject("LDAP://" & oMember.distinguishedname)
sHomeDir=oUser.homedirectory
ofso.copyfile sFile, sHomeDir, true
next
end if