Home
> Commands A-M
> Commands Ds-Dz
DSMOVE
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Moves a single object, within a domain, from its
current location in the directory to a new location, or
renames a single object without moving it in the
directory tree.
Syntax
DSMOVE
/?
DSMOVE
object_dn
[-newname new_rdn]
[-newparent parent_dn]
[-p {password | *}]
[-q]
[{-s server
| -d domain}]
[-u user_name]
[-uc | -uci | -uco]
Parameters
- object_dn
(NTXP)
- Specifies the distinguished name of the object you
want to move or rename. If omitted, obtained through
standard input (stdin) to support piping of output
from another command.
Switches
- /?
(NTXP)
- Display help.
- -d domain
(NTXP)
- Connects the computer to a specified domain. By
default, the computer is connected to the domain
controller in the logon domain.
- -newname new_rdn
(NTXP)
- Renames the object with a new relative
distinguished name.
- -newparent parent_dn
(NTXP)
- Specifies the new location to which you want to
move the object. The new location is specified as the
distinguished name of the new parent node.
- -p {password | *}
(NTXP)
- Specifies to use either a password or a * to log
on to a remote server.
If *, then prompted for password.
- -q
(NTXP)
- Suppresses all output to standard output
(quiet mode).
- -s server
(NTXP)
- Connects the computer to a specified server.
- -u user_name
(NTXP)
- Specifies the user name with which user will log
on to a remote server. By default, the logged on user
name is used. You can specify a user name using one
of the formats:
user name
domain\user name
user principal name (UPN)
- -uc | -uci | -uco
(NT2003)
- Specifies that output or input data is
formatted in Unicode:
- -uc input from or output to a pipe (|)
- -uco output to a pipe (|) or a file
- -uci input from a pipe (|) or a file
Related
MOVETREE - Move an object across domains.
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NTXP
NT2003
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively