Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > ADMT command line or vbscript syntax in OU

Reply
Thread Tools Display Modes

ADMT command line or vbscript syntax in OU

 
 
Scan le Gentil
Guest
Posts: n/a

 
      11-24-2009

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=loca l"

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
 
 
 
 
Scan le Gentil
Guest
Posts: n/a

 
      12-01-2009
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.

Scan


"Scan le Gentil" wrote:

> 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=loca l"
>
> 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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Word PageSetup with vbScript Dave A. Scripting 5 10-28-2009 07:14 AM
Windows VBscript 5.6 DC Windows Vista Installation 8 06-18-2009 02:31 PM
vbscript error chriskli21 Windows Vista Installation 10 05-23-2008 06:06 PM
Problem with WMI in WinPE - null: Invalid Syntax Error Aaron Wright Windows Vista Installation 2 04-18-2007 06:09 AM
Is Windows Vista index-based full-text search powerful enough? Peter Frank Windows Vista File Management 47 03-23-2007 05:54 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59