Previous Topic: User Command Line FunctionalityNext Topic: Local Users


Wildcards

Use wildcards to identify the domain or Active Directory container and the user name that should be migrated.

Destination wildcards differ from source wildcards. Source wildcards can contain other characters (for example, "I*n?\m*am?r"), but destination wildcards can only replace entire names (for example, "x\y:domain1\*" , or "x\y:*\John").

The following list contains examples of wildcard usage:

* (asterisk)

Used to match any string of characters (or no characters) in the position of the asterisk. The following are examples of its use:

/user *

Selects all users on the system including local, Active Directory, and NT domain. This is equivalent to /user */*

/user la*

Selects all local or local special users on the system that matched La such as Laura, Lauren, Laural, Lawrence, Laurie, and so on.

/user *\*

Selects all users on the system including local, Active Directory, and NT domain. This is equivalent to /user * .

/user Domain1\*

Selects all users on the system belonging to Domain 1.

/user ?*\Michael

Selects the user Michael belonging to any and all NT domains on the system.

/user ?*\%DNA_User_Name

Selects the user that is logged on in any and all NT domains on the system.

/user ?*\*\*

Selects all Active Directory users, except orphan users. The middle * defines either the organizational unit or container any level deep.

? (question mark)

Used to match a single character in the position of the question mark. It can be used with asterisks. Only use the question mark character to specify users from the source machine. You cannot use it to specify redirection of the users on the destination.

/user ?*\M?ch*

Selects all users that match the defined wildcards. This selects both Michael and Michelle belonging to any NT domain.

user Domain1\M?ch*

Selects all users belonging to Domain1 matching the defined wildcards. This selects both Michael and Michelle if they both belong to Domain2.