Previous Topic: Security MigrationNext Topic: Wildcards


User Command Line Functionality

The following functionality is supported by the user command line:

Use the following syntax to include or exclude all users (local, domain, Active Directory, or orphan) in a migration.

User Type

Include

Exclude

Details / Example

Local

/user ?*

/nouser ?*

To migrate all users except local accounts use the following syntax:

/user* /nouser ?*

Domain

/user ?*\*

/nouser ?*\*

The include syntax in this example migrates all users except orphan users.

The exclude syntax in this example excludes all users except orphan users.

See the orphan user row for details on including or excluding orphan users.

Active Directory

/user ?*\*\*

Note: the middle * defines either the organizational unit or container any level deep.

/nouser ?*\*\*

To include all AD users, except orphan users, use the following syntax:

/user ?*\*\*

The previous example migrates all Active Directory users, except orphan users and any Active Directory user whose name is also the name of an organizational unit.

If you want to exclude the migration of any orphan users in an Active Directory enter:

/user * /nouser ?*\*\* /user ?*\*\* orphan false

To exclude AD users, and include all other users, use the following syntax

/user * /nouser ?*\*\*

Orphan AD accounts may remain selected because they look similar to domain accounts.

All users

/user *

/nouser *

To include all users on the system, (orphan, special users (see note), domain, and Active Directory users), use the following syntax:

/user *

Orphan

Local:

/user ?* orphan true

Domain:

/user?*\* orphan true

Active Directory:

/user ?*\*\* orphan true

Local:

/user ?* orphan false

Domain:

/user ?*\* orphan false

Active Directory:

/user ?*\*\* orphan false

These examples exclude all orphan users

Note: Special users are those profiles that are created by the operating system, such as Administrator or Default User.