MCSA/MCSE Exam 70-292: Managing and Maintaining a Windows Server 2003 Environment for an MCSE Certified on Windows 2000 Study Guide

Active Directory Management

The following new command-line tools have been added to make Active Directory management easier:

  • dsadd

  • dsmod

  • dsrm

  • dsmove

  • dsquery

  • dsget

  • gpresult

  • whoami

    Note

    The following parameters are identical across all usages of the dsadd, dsmod, dsrm, dsmove, dsquery, and dsget commands and will only be explained the first time in Table A.1: {-s Server -d Domain} , -u UserName , -p {Password *} , -q , {-uc -uco -uci}.

The following commands are not new to Windows Server 2003, but are still highly valuable to an Administrator:

  • csvde

  • ldifde

dsadd

The dsadd command can be used to add new objects into Active Directory such as contacts, computers, groups, organizational units (OUs) and users. dsadd has the following top-level options:

  • dsadd computer

  • dsadd contact

  • dsadd group

  • dsadd ou

  • dsadd user

  • dsadd quota

dsadd computer

The dsadd computer command is used to add a single computer account object to Active Directory and uses the following syntax:

dsadd computer <i class="emphasis">ComputerDN</i> [-samid <i class="emphasis">SAMName</i>] [-desc <i class="emphasis">Description</i>] [-loc <i class="emphasis">Location</i>] [-memberof <i class="emphasis">GroupDN</i>] [{-s <i class="emphasis">Server</i>  -d <i class="emphasis">Domain</i>}] [-u <i class="emphasis">UserName</i>] [-p {<i class="emphasis">Password</i>  *}] [-q] [{-uc  -uco  -uci}] 

Table A.1 details the parameters associated with the dsadd computer command.

Table A.1: dsadd computer Parameters

Switch

Function

ComputerDN

Specifies the distinguished name of the object to add.

-samid SAMName

Specifies the Security Accounts Manager (SAM) name to...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Waveplates and Retardation Plates
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.