T
tcrowley1999
I'm trying to use the script below for
Each user in the security group Home I want to change the logon script
to Hdrive.vbs
When I run the script nothing happens.
This script works if I want to change users in an OU.
Set objOU = GetObject("LDAP://cn=home,ou=groups,dc=test,dc=com")
objOU.Filter = Array("user")
For Each objUser In objOU
objUser.Put "ScriptPath", "Hdrive.vbs"
objUser.SetInfo
Next
Thanks
Tim
Each user in the security group Home I want to change the logon script
to Hdrive.vbs
When I run the script nothing happens.
This script works if I want to change users in an OU.
Set objOU = GetObject("LDAP://cn=home,ou=groups,dc=test,dc=com")
objOU.Filter = Array("user")
For Each objUser In objOU
objUser.Put "ScriptPath", "Hdrive.vbs"
objUser.SetInfo
Next
Thanks
Tim