Dsmove Command In Windows Server 2008

This article explains Dsmove command in Windows Server 2008 operating system.
  • 2495

Introduction

Dsmove command is used to move 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 for Dsmove command in Windows Server 2008 is given below.

Syntax

dsmove <ObjectDN> [-newname <NewRDN>] [-newparent <ParentDN>] [{-s <Server> | -d <Domain>}] [-u <UserName>] [-p {<Password> | *}] [-q] [{-uc | -uco |-uci}]

Parameters For Dsmove

Parameter Description
<ObjectDN> Defines the distinguished name of the object that user want to move or rename.
-newname <NewRDN> Renames the object that you specify with a new relative distinguished name.
-newparent <ParentDN> Defines a new location for the object that you want to move.
{-s <Server> | -d <Domain>} Connects a computer to a remote server or domain that you specify.
-u <UserName> Defines the user name with which the user logs on to a remote server.
-p {<Password> | *} Defines to use a password or an asterisk (*) to log on to a remote server.
-q Suppresses all output to standard output.
{-uc | -uco | -uci} Defines the Dsmove formats output or input data in Unicode.
/? Shows help at the command prompt.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.