Defining OU Attributes
hello
i have been trying find out if possible, cant seem find answer.. :(
i define attributes on ou such department, company name etc....
and when move user between ou's automatically picks information.
is achieveable?
thanks!
there no builtin solution
my way is
1. add desired parameters ou's description attribute
2. create powershel script reads ou's description , write them ino user objects
3. add script task schelduler
example is:
ou description contains company name
$ou= get-adorganizationalunit "dn of ou" -properties description get-aduser -filter * -searchbase "dn of ou" | set-aduser -company $ou.description
Windows Server > Windows Server 2012 General
Comments
Post a Comment