answersLogoWhite

0

What are the DS commands?

Updated: 10/23/2022
User Avatar

Wiki User

15y ago

Best Answer

New DS (Directory Service) Family of built-in command line utilities for Windows Server 2003 Active Directory A: New DS built-in tools for Windows Server 2003

The DS (Directory Service) group of commands are split into two families. In one branch are DSadd, DSmod, DSrm and DSMove and in the other branch are DSQuery and DSGet. When it comes to choosing a scripting tool for Active Directory objects, you really are spoilt for choice. The the DS family of built-in command line executables offer alternative strategies to CSVDE, LDIFDE and VBScript. Let me introduce you to the members of the DS family: DSadd - add Active Directory users and groups

DSmod - modify Active Directory objects

DSrm - to delete Active Directory objects

DSmove - to relocate objects

DSQuery - to find objects that match your query attributes

DSget - list the properties of an object

DS Syntax

These DS tools have their own command structure which you can split into five parts: 1 2 3 4 5

Tool object "DN" (as in LDAP distinguished name) -switch value For example:

DSadd user "cn=billy, ou=managers, dc=cp, dc=com" -pwd cX49pQba This will add a user called Billy to the Managers OU and set the password to cx49Qba Here are some of the common DS switches which work with DSadd and DSmod

-pwd (password) -upn (userPrincipalName) -fn (FirstName) -samid (Sam account name). The best way to learn about this DS family is to logon at a domain controller and experiment from the command line. I have prepared examples of the two most common programs. Try some sample commands for DSadd. ˚ Two most useful Tools: DSQuery and DSGet

The DSQuery and DSGet remind me of UNIX commands in that they operate at the command line, use powerful verbs, and produce plenty of action. One pre-requisite for getting the most from this DS family is a working knowledge of LDAP. If you need to query users or computers from a range of OU's and then return information, for example, office, department manager. Then DSQuery and DSGet would be your tools of choice. Moreover, you can export the information into a text file

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the DS commands?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the allstarscape commands?

Do ::commands


Which roblox admin commands are better BCGames Admin Commands Kohls admin commands or Person299s Admin commands?

Majority of users will agree that the best robot admin commands to use are the Person299 Admin commands. The reason is Person299 admin commands have the most to utilize in roblox.


How do you meld commands in Kingdom Hearts Birth by Sleep?

Go to your main menu and select commands. Go to meld commands and select your commands you want to meld. WARNING: The commands need to be at a certain level before they can be melded.


Is wands in default minecraft commands?

No. It is in WorldEdit commands.


Difference between Cursor-Positioning commands and Display-Adjusting commands?

Cursor Positioning commands mainly used in CLI and Display Adjusting commands mainly used in GUI..


How do you make commands in a rsps?

u can download commands maker :)


When was Jerusalem Commands created?

Jerusalem Commands was created in 1992.


How do you say 'commands' in Spanish?

NounMandatos (i.e. There are numerous commands that I must follow)VerbManda (i.e. My officer commands my attention.)


How do you do commands in Minecraft?

In multiplayer, commands are generally started with a "/" Single player commands have not yet been added, unless you get a mod that has commands, like WorldEdit. They will be added in the next update, 1.3.


Can you give name commands to trolls or do name commands only apply to faeries and pixes?

You can give commands but you have to learn the troll language's.


What commands found with the Align commands evenly space objects horizontally or vertically relative to each other or the slide?

Distribute Commands


List of additional commands?

a list of additional commands is a sub-menu