Wikis - Page

BatchMove of user from text file

0 Likes

The script uses the varset submit method and reads from a text file and looks up the user and then moves them to the target OU.  The script needs to run on the DRA server or you will need to modify the script to run remotely.   The script looks at a tab delim file at c:\list2.txt which is a list of the samaccountname and the target OU like below.   The only modification to the script will require changing the search domain from "dc=secure,dc=local" to the desired domain. 


kingAar OU=demo,DC=secure,DC=local
ciottiabr OU=demo,DC=secure,DC=local
denkoabr OU=demo,DC=secure,DC=local
Test153 OU=demo,DC=secure,DC=local


 



NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: coolguys-netiq@netiq.com. Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions. https://www.netiq.com/communities/coolsolutions/terms-and-conditions/

Labels:

Collateral
Comment List
Related
Recommended