Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



ADMT command line or vbscript syntax in OU

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 24-11-2009
Scan le Gentil
 
Posts: n/a
ADMT command line or vbscript syntax in OU

V31MigGuide.doc is unclear in ADMT command line or vbscript, especially about
target OU or source OU syntax.
We can read the target OU location in command line syntax is /TO:"target_OU"
We can read the target OU location in option file for command line is
TargetOU="target_OU"
We can read the target OU location in a vbscript is
objMigration.TargetDomain = "target domain" and objMigration.TargetOu =
"target container" .(I think there's a confusion betwen OU and container in
vbscript syntax description.)

I tried this :
objMigration.TargetDomain = "targetdomain.local"
objMigration.TargetOu = "OU=user_OU,OU=site_OU"

or

objMigration.TargetOu = "OU=user_OU,OU=site_OU,DC=targetdomain,DC=local"

or other possibilities.

ADMT.Migration.1 is unable to bind the container. Unable to get
distinguished name for 'targetdomain.local/OU=user_OU,OU=site_OU' or any
composed LDAP path. The paramater is always incorrect.

Does anyone who ever tried to control ADMT knows what is the syntax or has
an example for these parameters ?
Reply With Quote
  #2  
Old 01-12-2009
scanlegentil
 
Posts: n/a
Re: ADMT command line or vbscript syntax in OU

I reply to myself. The syntax is :
objMigration.TargetOu ="site_OU/user_OU"

It looks like a filesystem path. Maybe because it describes a same
type object tree. A path of OU.
Reply With Quote
  #3  
Old 01-12-2009
Scan le Gentil
 
Posts: n/a
RE: ADMT command line or vbscript syntax in OU

I reply to myself.
The correct syntax is:
objMigration.TargetOu = "site_OU/user_UO"

It looks like a file system path. An up to down description of OU.
Reply With Quote
  #4  
Old 02-02-2010
Member
 
Join Date: Feb 2010
Posts: 2
Re: ADMT command line or vbscript syntax in OU

Brilliant, Thanks for the syntax.
After passing this hurdle I am stuck with another error

2010-02-02 19:24:04 Active Directory Migration Tool - scripted user migration started.
2010-02-02 19:24:10 ERR2:0080 Unable to migrate users. The Migrate Groups option must be specified for the intra-forest user migration. The parameter is incorrect. (0x80070057)

Please if you could advice me.

Regards
Nitin Bharti
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "ADMT command line or vbscript syntax in OU"
Thread Thread Starter Forum Replies Last Post
How to create ZIP Files from Command-Line via VBScript? FB Windows Server Help 10 22-12-2011 12:18 AM
ADMT 3.1 vbscript : ADMT.Migration object creation permission deni Scan le Gentil Active Directory 1 02-12-2009 09:55 PM
PROBLEM: COMMAND LINE OPTION SYNTAX ERROR. TYPE COMMAND /? FOR HEL FORTHELOVEOFGODPLEASEHELPME MediaCenter 3 03-09-2009 06:41 PM
command-line syntax for notepad or wordpad? open w/ font JimSturtz Windows XP Support 2 09-02-2008 12:25 AM
Command line option syntax error. Type /? for Help Antojak Windows Vista Mail 1 28-01-2008 06:37 PM


All times are GMT +5.5. The time now is 11:19 PM.