Skip to content
Tech Shizz Logo

An Engineers Blog

  • TechShizz
  • blog

Active Directory Command Line Utilities

Posted on February 23, 2021 By rich No Comments on Active Directory Command Line Utilities

Name

Description

CSVDE

Import and export Active Directory data using comma-separated
format.

Dsadd

Add users, groups, computers, contacts, and organizational
units to Active Directory.

Dsmod

Modify an existing object of a specific type in the directory.
The types of objects that can be modified are: users, groups, computers,
servers, contacts, and organizational units.

Dsrm

Remove objects of the specified type from Active Directory.

Dsmove

Rename an object without moving it in the directory tree, or
move an object from its current location in the directory to a new location
within a single domain controller. (For cross-domain moves, use the Movetree
command-line tool.)

Dsquery

Query and find a list of objects in the directory using
specified search criteria. Use in a generic mode to query for any type of
object or in a specialized mode to query for for selected object types. The
specific types of objects that can be queried through this command are:
computers, contacts, subnets, groups, organizational units, sites, servers
and users.

Dsget

Display selected attributes of specific object types in Active
Directory. Attributes of the following object types can be viewed: computers,
contacts, subnets, groups, organizational units, servers, sites, and users.

LDIFDE

Ceate, modify, and delete directory objects. This tool can
also be used to extend the schema, export Active Directory user and group
information to other applications or services, and populate Active Directory
with data from other directory services.

Ntdsutil

General purpose Active Directory management tool. Use Ntdsutil
to perform database maintenance of Active Directory, to manage single master
operations, and remove metadata left behind by domain controllers that were
removed from the network without being properly uninstalled.

Post navigation

❮ Previous Post: Export specific User details from Active Directory to a CSV file
Next Post: Veeam Resources ❯

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to our newsletter!

Recent Posts

  • How to implement a lightning-fast ransomware playbook
  • How to achieve defence in depth in your business
  • How to implement a SecOps team phishing response plan
  • How to block an Office 365 Sign-in correctly
  • Microsoft finally patched serious Exchange 0-day over a month old!

Recent Comments

    Archives

    • November 2022
    • July 2021
    • March 2021
    • February 2021

    Categories

    • Cyber Security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2023 .

    Theme: Oceanly News Dark by ScriptsTown