Operating Systems/Programming

Command Line Tools

 

barn-images-12223-unsplash.jpg

 
DSADD is a command-line tool that comes built into Windows Server 2008. DSADD adds specific types of objects into the directory. If you have the AD DS (Active Directory Domain Services) installed, DSADD is available. By using the DSADD command in the command prompt, you can use DSADD. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There are several commands used with DSADD, such as, computer (add a single computer), contact (add a single contact), group (add a single group), ou (add a single organizational unit), user (add a single user), quota (add a quota specification to partition. These commands add these items to the directory.
DSGET is a command-line tool that comes built into Windows Server. DSGET displays the selected properties of an object located in the directory. If you have the AD DS (Active Directory Domain Services) installed, DSGET is available. By using the DSADD command in the command prompt, you can use DSGET. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There is several commands used with DSGET, computer (add a single computer), contact (add a single contact), group (add a single group), ou (add a single organizational unit), user (add a single user), quota (add a quota specification to partition. These commands add these items to the directory.
DSMOD is a command-line tool that comes built into Windows Server. DSMOD modifies existing objects of a specific type into the directory. If you have the AD DS (Active Directory Domain Services) installed, DSMOD is available. By using the DSMOD command in the command prompt, you can use DSMOD. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There are several commands used with DSMOD, computer (modifies attributes computers), contact (modifies attributes of contacts), group (modifies attributes of groups), ou (modifies attributes of organizational units), user (modifies attributes of users), quota (modifies attributes of quota specifications), server (modifies attributes of domain controller), and partition (modifies attributes of partitions). These commands add these items to the directory.
DSMOVEis a command-line tool that comes built into Windows Server. DSMOVE moves a single object from its current location to a new one within a directory. It also renames objects. If you have the AD DS (Active Directory Domain Services) installed, DSMOVE is available. By using the DSMOVE command in the command prompt, you can use DSMOVE. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There are several commands used with DSMOVE, such as, (specifies the name of the object), -newname (renames object), -newparent (specify net location for object you wish to move) -u (specify username), and -p { | *} (specify password).
            DSQUERYis a command-line tool that comes built into Windows Server. DSQUERY queries the directory by searching specified criteria. Each of the commands used with DSQUERY finds objects of a type. If you have the AD DS (Active Directory Domain Services) installed, DSQUERY is available. By using the DSQUERY command in the command prompt, you can use DSQUERY. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There are several commands used with DSQUERY, such as, computer (finds computers), contact (finds contacts), group (finds groups), ou (finds organizational units), user (finds users), quota (finds quota specifications), server (finds domain controller), and partition (finds partitions). These commands find these items in the directory.
DSRM is a command-line tool that comes built into Windows Server. DSRM deletes objects of a specific type. It also deletes general objects. If you have the AD DS (Active Directory Domain Services) installed, DSRM is available. By using the DSRM command in the command prompt, you can use DSRM. It must be an elevated command prompt, which is accessible by clicking Start, right-clicking Command Prompt, and finally by clicking Run as administrator. There are several commands used with DSRM, such as (specifies the objects to delete), -subtree [-exclude] (Specifies both object and objects in the subtree to be deleted), and -noprompt (sets optional silent mode that prevents deletion prompts).
 
References-
Microsoft. (2012). DSQUERY. Retrieved from https://technet.microsoft.com/en-us/library/cc732952(v=ws.11).aspx.
 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s